Change snippets to use getShell()
This commit is contained in:
parent
630b74872b
commit
5eeef2c4d8
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user