summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-10-08 17:10:27 +0100
committerAlan Pearce2013-10-08 17:13:12 +0100
commit6c2e4f6c0b289fd187fb86f07ac18669d447c07a (patch)
tree55aac4f4a85ab20ae52c0406b3cdec7584b66f9f
parent4cac4e8b64f52a05837f1f40af9fba355370d5ee (diff)
downloadnixfiles-6c2e4f6c0b289fd187fb86f07ac18669d447c07a.tar.lz
nixfiles-6c2e4f6c0b289fd187fb86f07ac18669d447c07a.tar.zst
nixfiles-6c2e4f6c0b289fd187fb86f07ac18669d447c07a.zip
Add alias to launch magit in GUI emacs
-rwxr-xr-xzsh/zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index 6fd0362b..93f24d04 100755
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -311,6 +311,7 @@ alias wprop='xprop |awk '\''
     /^WM_WINDOW_ROLE/{sub(/.* =/, "role:"); print}'\'''
 
 alias et="emacsclient -t"
+alias magit='ec -e "(magit-status \"$PWD\")"'
 
 alias -g ...='../..'