diff --git a/zsh/exports.zsh b/zsh/exports.zsh index 504a712..1c29b67 100644 --- a/zsh/exports.zsh +++ b/zsh/exports.zsh @@ -1,3 +1,8 @@ +# set EDITOR variable +if type vim >/dev/null 2>&1; then + export EDITOR="vim" +fi + # extend PATH variable if [ -d "$HOME/bin" ]; then export PATH="$HOME/bin:$PATH"