emote shell scripts
[dotfiles.git] / Scripts / vish
1 #!/bin/sh
2
3 ## creates a new shell script and chmods it
4
5 [ -f "$1" ] && echo "File already exists, aborting" && return 1
6
7 echo '#!/bin/sh' > "$1" && chmod +x "$1" && $EDITOR "$1"