zsh: exports.zsh: set EDITOR to vim if available

This commit is contained in:
Thomas Preisner 2018-05-18 16:08:54 +02:00
parent 202ebad614
commit ad41a8e06d

View file

@ -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"