summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xzsh/zshrc10
1 files changed, 8 insertions, 2 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index a08cee03..28356be5 100755
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -312,8 +312,6 @@ alias wprop='xprop |awk '\''
     /^WM_WINDOW_ROLE/{sub(/.* =/, "role:"); print}'\'''
 
 alias et="emacsclient -t"
-alias magit='ec -e "(magit-status \"$PWD\")"'
-alias dired='ec -e "(dired \"$PWD\")"'
 
 alias -g ...='../..'
 
@@ -326,6 +324,14 @@ fi
 
 # Functions
 
+magit () {
+	emacsclient -e "(magit-status \"$PWD\")"
+}
+
+dired () {
+	emacsclient -e "(dired \"$PWD\")"
+}
+
 pid () {
     local i
     for i in /proc/<->/stat