zsh: exports.zsh: set EDITOR to vim if available
This commit is contained in:
parent
202ebad614
commit
ad41a8e06d
1 changed files with 5 additions and 0 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue