Set EDITOR to vim if it exists
This commit is contained in:
parent
1cf7e1dcaf
commit
6eec18c98e
4
zshenv
4
zshenv
@ -37,6 +37,10 @@ typeset -U PATH; export PATH
|
|||||||
typeset -U MANPATH; export MANPATH
|
typeset -U MANPATH; export MANPATH
|
||||||
typeset -U INFOPATH; export INFOPATH
|
typeset -U INFOPATH; export INFOPATH
|
||||||
|
|
||||||
|
# Set default editor.
|
||||||
|
which vim &> /dev/null && \
|
||||||
|
export EDITOR=`which vim`
|
||||||
|
|
||||||
# Use ~/.local for pip installs on macOS
|
# Use ~/.local for pip installs on macOS
|
||||||
[ "`uname`" = "Darwin" ] && export PYTHONUSERBASE=$HOME/.local
|
[ "`uname`" = "Darwin" ] && export PYTHONUSERBASE=$HOME/.local
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user