Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
public:vimbashfactory [2010/08/23 23:50] Nicopublic:vimbashfactory [2012/10/25 15:46] Nico
Line 1: Line 1:
-~~META:How to quickly create fully fonctionnal shell scripts using VIM~~ +====== How to quickly create fully functional shell scripts using VIM ======
-====== How to quickly create fully fonctionnal shell scripts using VIM ====== +
  
   * Download the [[http://www.vim.org/scripts/script.php?script_id=1172|VIM template script]]   * Download the [[http://www.vim.org/scripts/script.php?script_id=1172|VIM template script]]
Line 7: Line 5:
   * Create the following script in .vim/templates/sh:   * Create the following script in .vim/templates/sh:
 <code> <code>
-#!/bin/bash+#!/bin/sh
  
 VERSION="$0 v1.0" VERSION="$0 v1.0"
Line 66: Line 64:
  
   * That's it! next time you will edit a new .sh file, it will load the template and automagicaly made it executable :)   * That's it! next time you will edit a new .sh file, it will load the template and automagicaly made it executable :)
 +