New zsh alias
This commit is contained in:
parent
fe23499956
commit
461e9cfc41
|
@ -50,6 +50,13 @@ e() { # emacs
|
|||
[ ! $# -eq 0 ] && input=$@
|
||||
emacsclient -n ${input:-.}
|
||||
}
|
||||
ee() { # emacs in project root
|
||||
if git root 2>/dev/null; then
|
||||
e "$(git rev-parse --show-toplevel)"
|
||||
else
|
||||
e .
|
||||
fi
|
||||
}
|
||||
|
||||
# Compilers 'n interpretors
|
||||
alias va='vagrant'
|
||||
|
|
Loading…
Reference in a new issue