Make executable by setting the correct shebang and executable bit
Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
plugin Version 1.1: Support for more filetypes Jun 9, 2012
README Version 1.0: Initial upload Dec 13, 2010


This is a mirror of

This script tries to reduce the repetitive work it is to make a file executable. It provides three functions:

SetShebang() which sets the correct shebang (e.g. "#!/usr/bin/python"),
SetExecutableBit() which sets the executable bit, and
SetExecutable() which calls the two functions above.

The SetExecutableBit() is simply stolen from . Thanks a lot Max Ischenko!