Fix e alias
This commit is contained in:
parent
1f7c48230e
commit
32b038ad7a
|
@ -50,7 +50,7 @@ fi
|
||||||
|
|
||||||
# Editors
|
# Editors
|
||||||
v() { vim ${@:-.}; } # Open in vim
|
v() { vim ${@:-.}; } # Open in vim
|
||||||
e() { emacsclient -n ${@:-.}; } # Open in emacs (daemon)
|
e() { emacsclient -t ${@:-.}; } # 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