From 48603665e56f36e4f757a52cd3ba111ce33a306c Mon Sep 17 00:00:00 2001 From: GrĂ©goire DuchĂȘne Date: Sat, 27 Jul 2024 11:09:34 +0100 Subject: 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. --- zsh/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zsh') 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' -- cgit v1.2.3-70-g09d2