Fix e alias

This commit is contained in:
Henrik Lissner 2015-07-10 01:53:35 +02:00
parent 4aa49d077c
commit a484faf262

View file

@ -50,7 +50,7 @@ fi
# Editors # Editors
v() { vim ${@:-.}; } # Open in vim v() { vim ${@:-.}; } # Open in vim
e() { emacsclient -t ${@:-.}; } # Open in emacs (daemon) e() { emacsclient -n ${@:-.}; } # Open in emacs (daemon)
ee() { # emacs in project root ee() { # emacs in project root
if git root 2>/dev/null; then if git root 2>/dev/null; then
e "$(git rev-parse --show-toplevel)" e "$(git rev-parse --show-toplevel)"