diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2024-07-27 11:09:34 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2024-07-27 11:23:02 +0100 |
| commit | 48603665e56f36e4f757a52cd3ba111ce33a306c (patch) | |
| tree | 5150cb517708d6153e0bb803c1931c9cde809ae6 | |
| parent | 87bdf289ad385fd9c4f7eb6ad98f658b9736592a (diff) | |
zsh: Use vim if Emacs is not running as a server
Running the Emacs server from a terminal implies that permissions
normally granted to Emacs on macOS will not be granted to the server.
| -rw-r--r-- | zsh/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,8 +32,8 @@ alias ddig='dig +noall +answer' alias dfl='df -l' alias du='du -h' alias dusum='du -d1 | sort -hr' -alias ec='emacsclient -a "" -t' -alias et='emacsclient -a "" -c -n' +alias ec='emacsclient -a vim -t' +alias et='emacsclient -a vim -c -n' alias ffmpeg='ffmpeg -hide_banner' alias ffprobe='ffprobe -hide_banner' alias grep='grep --color=auto' |
