comparison 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
comparison
equal deleted inserted replaced
490:f49b0b91925c 491:f1d1eab204aa
205 export XDG_CONFIG_HOME=$HOME/.config 205 export XDG_CONFIG_HOME=$HOME/.config
206 export PATH=$HOME/bin:$PATH 206 export PATH=$HOME/bin:$PATH
207 207
208 export EDITOR=nvim 208 export EDITOR=nvim
209 export HGEDITOR=nvim 209 export HGEDITOR=nvim
210 export SUDO_EDITOR=nvim
211 210
212 [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh 211 [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
213 export FZF_DEFAULT_COMMAND='ag -g ""' 212 export FZF_DEFAULT_COMMAND='ag -g ""'
214 [ -f ~/.zshrc.local ] && source ~/.zshrc.local 213 [ -f ~/.zshrc.local ] && source ~/.zshrc.local
214
215 # Must run after brew is loaded
216 export SUDO_EDITOR=$(which nvim)