pinosaur
/
dotfiles.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
zsh and rc file abstract
[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"