Add magit alias/function
This commit is contained in:
parent
581f6eeb2e
commit
e3362805b4
@ -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))"
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user