Add magit alias/function

This commit is contained in:
Adam Goldsmith 2019-05-06 09:12:52 -04:00
parent 581f6eeb2e
commit e3362805b4

View File

@ -4,3 +4,7 @@ alias en="e -n"
alias et="e -t" alias et="e -t"
alias ec="e -c" alias ec="e -c"
alias ecn="ec -n" alias ecn="ec -n"
function magit() {
en -e "(progn (cd \"$(realpath ${1-.})\") (magit-status))"
}