diff --git a/convertSnip.py b/convertSnip.py index 05430fc..6e4ac81 100755 --- a/convertSnip.py +++ b/convertSnip.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python """ File: convertSnips.py Author: Michael Sanders diff --git a/snippets/c.snippets b/snippets/c.snippets index ae62791..ccc9f13 100644 --- a/snippets/c.snippets +++ b/snippets/c.snippets @@ -30,7 +30,7 @@ snippet #if # (the randomizer code is taken directly from TextMate; it could probably be # cleaner, I don't know how to do it in vim script) snippet once - #ifndef ${1:`toupper(Filename('', 'UNTITLED').'_'.system("/usr/bin/ruby -e 'print (rand * 2821109907455).round.to_s(36)'"))`} + #ifndef ${1:`toupper(Filename('', 'UNTITLED').'_'.system("/usr/bin/env ruby -e 'print (rand * 2821109907455).round.to_s(36)'"))`} #define $1 diff --git a/snippets/perl.snippets b/snippets/perl.snippets index cf8f9fc..4c3bb16 100644 --- a/snippets/perl.snippets +++ b/snippets/perl.snippets @@ -1,6 +1,6 @@ -# #!/usr/bin/perl +# #!/usr/bin/env perl snippet #! - #!/usr/bin/perl + #!/usr/bin/env perl # Hash Pointer snippet . diff --git a/snippets/python.snippets b/snippets/python.snippets index d511184..28a2948 100644 --- a/snippets/python.snippets +++ b/snippets/python.snippets @@ -1,5 +1,5 @@ snippet #! - #!/usr/bin/python + #!/usr/bin/env python snippet imp import ${1:module} diff --git a/snippets/ruby.snippets b/snippets/ruby.snippets index bf1d7f1..2cde406 100644 --- a/snippets/ruby.snippets +++ b/snippets/ruby.snippets @@ -1,6 +1,6 @@ -# #!/usr/bin/ruby +# #!/usr/bin/env ruby snippet #! - #!/usr/bin/ruby + #!/usr/bin/env ruby # New Block snippet =b diff --git a/snippets/tcl.snippets b/snippets/tcl.snippets index bee2ef8..1fe1cb9 100644 --- a/snippets/tcl.snippets +++ b/snippets/tcl.snippets @@ -1,6 +1,6 @@ -# #!/usr/bin/tclsh +# #!/usr/bin/env tclsh snippet #! - #!/usr/bin/tclsh + #!/usr/bin/env tclsh # Process snippet pro