export x11 display on cygwin

This commit is contained in:
Cyryl Plotnicki-Chudyk 2013-12-02 10:49:22 +01:00
parent 1392705372
commit 8c677475a0

4
.zshrc
View file

@ -64,6 +64,10 @@ if [[ `uname` == 'Darwin' ]]; then
alias vim=/usr/local/Cellar/vim/7.4/bin/vim alias vim=/usr/local/Cellar/vim/7.4/bin/vim
fi fi
if [[ `uname` =~ 'CYGWIN.*' ]]; then
export DISPLAY=:0.0
fi
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
PATH=$HOME/tools:$PATH PATH=$HOME/tools:$PATH
EDITOR="vim" EDITOR="vim"