Browse Source

readded display var for cygwin

Josh Bicking 8 years ago
parent
commit
268766865f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      bashrc

+ 5 - 0
bashrc

@@ -28,3 +28,8 @@ d2h(){
 # alias for vim muscle memory when quitting
 alias :q='exit'
 alias :e='vim'
+
+# allow X forwarding in Cygwin
+if [ $(uname -o) == "Cygwin" ]; then
+    export DISPLAY=:0
+fi