Fix e alias
This commit is contained in:
parent
4aa49d077c
commit
a484faf262
|
@ -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)"
|
||||||
|
|
Loading…
Reference in a new issue