Is there a way I can configure my linux box or editor like vim/emacs to automatically give executable file permission to certain file types ?
Currently if I want to write a bash script I need to manually give executable permission. I am looking for a way that whenever I create file having .bash or .sh extension It should give executable permission to that file.
