summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2024-07-27 11:09:34 +0100
committerGrégoire Duchêne <gduchene@awhk.org>2024-07-27 11:23:02 +0100
commit48603665e56f36e4f757a52cd3ba111ce33a306c (patch)
tree5150cb517708d6153e0bb803c1931c9cde809ae6
parent87bdf289ad385fd9c4f7eb6ad98f658b9736592a (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/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/zsh/rc b/zsh/rc
index a340d0a..b637184 100644
--- a/zsh/rc
+++ b/zsh/rc
@@ -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'