Use new emacs function to start magit without creating an extra window
This commit is contained in:
parent
ef6f3433f2
commit
9e8d3508ac
@ -6,7 +6,5 @@ alias ec="e -c"
|
||||
alias ecn="ec -n"
|
||||
|
||||
function magit() {
|
||||
ecn -e '(progn (let ((old-frame (selected-frame)))
|
||||
(magit-status "'"$(realpath ${1-.})"'")
|
||||
(delete-frame old-frame)))'
|
||||
ecn -e '(magit-status-no-new-window "'"$(realpath ${1-.})"'")'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user