From 8c677475a0bfd1d55b447e248f67054d9af8c23b Mon Sep 17 00:00:00 2001 From: Cyryl Plotnicki-Chudyk Date: Mon, 2 Dec 2013 10:49:22 +0100 Subject: [PATCH] export x11 display on cygwin --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zshrc b/.zshrc index affe0eb9..c3254be0 100644 --- a/.zshrc +++ b/.zshrc @@ -64,6 +64,10 @@ if [[ `uname` == 'Darwin' ]]; then alias vim=/usr/local/Cellar/vim/7.4/bin/vim fi +if [[ `uname` =~ 'CYGWIN.*' ]]; then + export DISPLAY=:0.0 +fi + PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting PATH=$HOME/tools:$PATH EDITOR="vim"