diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2024-07-27 11:15:34 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2024-07-27 11:26:14 +0100 |
| commit | 3cacfff425c846c2da3208e12e7d2db170232f46 (patch) | |
| tree | 7a5a317327f647e9ee25badbc15606f462db31d3 | |
| parent | 48603665e56f36e4f757a52cd3ba111ce33a306c (diff) | |
zsh: Use ‘emacsclient’ when appropriate
| -rw-r--r-- | zsh/rc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -52,7 +52,11 @@ alias spm='swift package' bindkey -e -export EDITOR=vim +if [[ -S ${XDG_RUNTIME_DIR}/emacs/server ]]; then + export EDITOR='emacsclient -t' +else + export EDITOR=vim +fi export LESSHISTFILE=${XDG_CACHE_HOME}/less_history export PYTHONSTARTUP=$(dotfiles_root)/python/rc export SQLITE_HISTORY=${XDG_CACHE_HOME}/sqlite_history |
