Loading ...
Sorry, an error occurred while loading the content.

Re: changing permissions of shell script files

Expand Messages
  • Jacob Lerner
    ... Yes, the solution is in this tip: http://www.vim.org/tips/tip.php?tip_id=709 Tip #709 - if you create lots of shell scripts Additionally, this tip will
    Message 1 of 3 , Jun 6, 2004
    • 0 Attachment
      Karthikesh Raju wrote:

      >Not sure if this issue was addressed before
      >
      >
      > if i start editing a file with extension .sh, then on saving the file, it
      > should also do a chmod u+x filename.

      Yes, the solution is in this tip:

      http://www.vim.org/tips/tip.php?tip_id=709
      "Tip #709 - if you create lots of shell scripts"

      Additionally, this tip will also set "+x' permissions if the 1st line is
      "#!/bin/sh"

      Yakov
    Your message has been successfully submitted and would be delivered to recipients shortly.