New zsh alias

This commit is contained in:
Henrik Lissner 2015-04-22 20:46:04 -04:00
parent fe23499956
commit 461e9cfc41

View file

@ -50,6 +50,13 @@ e() { # emacs
[ ! $# -eq 0 ] && input=$@ [ ! $# -eq 0 ] && input=$@
emacsclient -n ${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 # Compilers 'n interpretors
alias va='vagrant' alias va='vagrant'