# HG changeset patch # User Oleksandr Gavenko # Date 1463579365 -10800 # Node ID 6e8756ef4fddeac35d443c1b68733cd83fd448b1 # Parent 62c7121c2f889b114f307ad4134f33dada3bd109 Enable bash_completion for Cygwin because new bash version support delayed loading and performance is no longer an issue! diff -r 62c7121c2f88 -r 6e8756ef4fdd .bashrc --- a/.bashrc Mon Apr 18 12:19:35 2016 +0300 +++ b/.bashrc Wed May 18 16:49:25 2016 +0300 @@ -177,13 +177,13 @@ ################################################################ # Completion. -# Use system wide completion, if available. if [[ -f /etc/bash_completion ]]; then - # Under Cygwin bash completition take a long time for starting. - if [[ ! $OSTYPE = cygwin ]]; then - . /etc/bash_completion - complete -F _quilt_completion dquilt - fi + # in Debian + . /etc/bash_completion + complete -F _quilt_completion dquilt +elif [[ -f /usr/share/bash-completion/bash_completion ]]; then + # in Cygwin + . /usr/share/bash-completion/bash_completion elif [[ -f ~/usr/etc/bash_completion ]]; then . ~/usr/etc/bash_completion fi