Change snippets to use getShell()

This commit is contained in:
Øystein Walle 2012-11-03 17:13:22 +01:00
parent 630b74872b
commit 5eeef2c4d8

View File

@ -17,13 +17,11 @@ endglobal
# TextMate Snippets # # TextMate Snippets #
########################################################################### ###########################################################################
snippet #! snippet #!
#!/bin/sh `!p snip.rv = '#!/bin/' + getShell() + "\n\n" `
endsnippet endsnippet
snippet !env "#!/usr/bin/env (!env)" snippet !env "#!/usr/bin/env (!env)"
#!/usr/bin/env bash `!p snip.rv = '#!/usr/bin/env ' + getShell() + "\n\n" `
endsnippet endsnippet
snippet temp "Tempfile" snippet temp "Tempfile"