Skip to content

Commit

Permalink
fix(zsh): mksh script opens file in editor
Browse files Browse the repository at this point in the history
  • Loading branch information
adamtabrams committed Jun 5, 2020
1 parent be90a38 commit a16a33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/.config/zsh/alias.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ glog() { git log --oneline --no-decorate "-${1:-5}" ${@:2} }
bak() { cp -r "$1" "$1.bak" }
unbak() { mv "$1" $(sed "s/.bak$//" <<< "$1") }

mksh() { echo "#!/bin/sh" >> "$1" && chmod +x "$1" }
mksh() { echo "#!/bin/sh" >> "$1" && chmod +x "$1" && "$EDITOR" "$1" }

#### Fzf #########################################
# go to one of the lastest dirs
Expand Down

0 comments on commit a16a33f

Please sign in to comment.