# HG changeset patch # User Oleksandr Gavenko # Date 1546184514 -7200 # Node ID b7a2c43902f38cc241947e3e3552b50de56e7db3 # Parent 3d50794717d5af6dedf60554e4b5019d303d84be Cygwin bash completion. diff -r 3d50794717d5 -r b7a2c43902f3 cygwin.rst --- a/cygwin.rst Sun Dec 30 14:08:23 2018 +0200 +++ b/cygwin.rst Sun Dec 30 17:41:54 2018 +0200 @@ -124,8 +124,10 @@ $ apt-cyg cache ~/net Cache set to C:\home\net. +https://github.com/kou1okada/apt-cyg + Still maintained project with extra features. https://github.com/transcode-open/apt-cyg/ - Home page. + Home page of abandoned project. https://github.com/transcode-open/apt-cyg/issues/19 Request to support multiply sources. http://stackoverflow.com/questions/22411162/how-to-add-a-repository-using-apt-cyg/ @@ -134,6 +136,22 @@ Depricated way to install from several sources with ``-m`` option using shell aliases as a trick. +Cygwin bash completion +====================== + +Cygwin ``bash`` has extra patch that adds ``completion_strip_exe`` option:: + + shopt -s completion_strip_exe + +If you complete executable ``.exe`` suffix is stripped if any. That halps with ``bash-completion`` +because usually comletion defined for base name without ``.exe`` suffix, like:: + + complete -F _figlet figlet + +https://github.com/cygwinports/bash + 7b. completion_strip_exe - using 'shopt -s completion_strip_exe' + makes completion strip .exe suffixes. + Cygwin file permission ======================