Mercurial > dotfiles
diff dot_zshrc @ 491:f1d1eab204aa
Fix paths to nvim for SUDO_EDITOR
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sat, 27 Nov 2021 16:00:20 +0100 |
parents | f49b0b91925c |
children | 1403bfc694e4 |
line wrap: on
line diff
--- a/dot_zshrc Sat Nov 27 15:56:23 2021 +0100 +++ b/dot_zshrc Sat Nov 27 16:00:20 2021 +0100 @@ -207,8 +207,10 @@ export EDITOR=nvim export HGEDITOR=nvim -export SUDO_EDITOR=nvim [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh export FZF_DEFAULT_COMMAND='ag -g ""' [ -f ~/.zshrc.local ] && source ~/.zshrc.local + +# Must run after brew is loaded +export SUDO_EDITOR=$(which nvim)