diff options
Diffstat (limited to 'doc/shebang_create_exec.txt')
-rw-r--r-- | doc/shebang_create_exec.txt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/shebang_create_exec.txt b/doc/shebang_create_exec.txt index d5995d4..c43d204 100644 --- a/doc/shebang_create_exec.txt +++ b/doc/shebang_create_exec.txt @@ -1,17 +1,15 @@ -*shebang_create_exec.txt* For Vim version 7.1 Last change: 2018 July 17 +*shebang_create_exec.txt* For Vim version 7.0 Last change: 2018 May 28 DESCRIPTION *shebang_create_exec* This plugin sets up a |BufWritePre| hook to check whether a buffer contains a -Unix shebang like `#!/bin/sh` as the first line, and is being saved to a new -file; if so, it attempts to make the file executable with `chmod +x` after a -successful save. +Unix shebang with an absolute pathname like `#!/bin/sh` as the first line, and +is being saved to a new file. If so, it attempts to make the file executable +using the safest method available to Vim. REQUIREMENTS *shebang_create_exec-requirements* -This plugin only loads if 'compatible' is not set, and requires the |+autocmd| -and |+unix| features. It also requires the |shellescape()| function that was -added in |version-7.0| patch 111. +This plugin only loads if 'compatible' is not set, and requires |+unix|. AUTHOR *shebang_create_exec-author* |