diff options
Diffstat (limited to 'zsh/zshrc')
-rwxr-xr-x | zsh/zshrc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/zsh/zshrc b/zsh/zshrc index a08cee0..28356be 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 |