zsh: Set EDITOR and VISUAL by presence
This commit is contained in:
parent
34a509a9e7
commit
ae38f04a2c
5 changed files with 7 additions and 6 deletions
|
|
@ -1,8 +1,5 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
export EDITOR='hx'
|
||||
export VISUAL=$EDITOR
|
||||
|
||||
if [[ -a /usr/bin/virtualenvwrapper.sh ]]; then
|
||||
export WORKON_HOME=$HOME/.virtualenvs
|
||||
source /usr/bin/virtualenvwrapper.sh
|
||||
|
|
|
|||
Loading…
Reference in a new issue