Under Cygwin bash completition start a long time.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 06 May 2010 09:34:39 +0300
changeset 74 06fb23a66904
parent 73 e938121eda62
child 75 956a463b63e3
Under Cygwin bash completition start a long time.
.bashrc
--- a/.bashrc	Tue May 04 23:08:25 2010 +0300
+++ b/.bashrc	Thu May 06 09:34:39 2010 +0300
@@ -95,7 +95,10 @@
 
 # Use bash-completion, if available.
 if [ -f /etc/bash_completion ]; then
-  . /etc/bash_completion
+  # Under Cygwin bash completition start a long time.
+  if [ ! "$OSTYPE" = cygwin ]; then
+    . /etc/bash_completion
+  fi
 fi
 if [ -f $HOME/usr/etc/bash_completion ]; then
   . $HOME/usr/etc/bash_completion