Watch
1
0
Fork
You've already forked dotfiles
0

zsh: Set EDITOR and VISUAL by presence

This commit is contained in:
Jeremy Kaplan 2026-08-30 13:23:41 -04:00
commit ae38f04a2c
5 changed files with 7 additions and 6 deletions

View file

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