Browse Source

Changed display env variable to depend on host.

master
Daniel Sissom 5 years ago
parent
commit
3ddb173404
Signed by untrusted user who does not match committer: djsissom GPG Key ID: 2C30FFB796852389
1 changed files with 5 additions and 1 deletions
  1. + 5
    - 1
      zsh/zshrc

+ 5
- 1
zsh/zshrc

@ -210,7 +210,11 @@ export path
# Shell behavior # Shell behavior
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
export EDITOR='vim -display none' # Use vim as default text editor
if [[ $host == osx ]]; then
export EDITOR='vim' # Use vim as default text editor
else
export EDITOR='vim -display none' # Use vim as default text editor
fi
export GPG_TTY=$(tty) # Fix GPG pin prompt bug with git export GPG_TTY=$(tty) # Fix GPG pin prompt bug with git
export SDL_VIDEO_FULLSCREEN_HEAD=3 export SDL_VIDEO_FULLSCREEN_HEAD=3
setopt HIST_IGNORE_SPACE setopt HIST_IGNORE_SPACE

Loading…
Cancel
Save