This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
base-files patch, and [ITP] bash-completion-20050721-1
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin-apps at cygwin dot com
- Date: Tue, 02 Aug 2005 22:03:05 -0600
- Subject: base-files patch, and [ITP] bash-completion-20050721-1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
As promised, here is bash-completion. It was pretty interesting to get
g-b-s altered to support this, since the upstream package unpacks the file
bash_completion/bash_completion (the directory has no relation to
$BASEPKG, then mkpatch would override the file with the directory), and
has no configure or Makefile. I will hold off on the cygwin-announce post
until base-files includes the attached patch, to make it more obvious how
a user can enable enhanced tab completion by editing their .bashrc.
This can be installed in release/bash/bash-completion/.
file size md5sum
http://home.comcast.net/~ericblake/bash/bash-completion/bash-completion-20050721-1.tar.bz2
93297 67134286e86f8d396e0b4e5b7ef572fa
http://home.comcast.net/~ericblake/bash/bash-completion/bash-completion-20050721-1-src.tar.bz2
119780 2574e30a6bcc6559941e34ec6c964100
http://home.comcast.net/~ericblake/bash/bash-completion/setup.hint
(curr: 20050721-1)
172 3c3d107fdcb2565a2ff1109d1585563d
- --
Someday, I might put a cute statement here.
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC8EH584KuGfSFAYARAkVFAJwLoB3aax1Mq4Ddb8y5TG891UZgEACfXDOZ
KFdGIMuvSK4VwN+gftyc4so=
=vRn0
-----END PGP SIGNATURE-----
--- /etc/defaults/etc/skel/.bashrc.orig 2005-08-02 06:36:15.952750000 -0600
+++ /etc/defaults/etc/skel/.bashrc 2005-08-02 21:38:12.952750000 -0600
@@ -9,11 +9,14 @@
# The copy in your home directory (~/.bashrc) is yours, please
# feel free to customise it to create a shell
# environment to your liking. If you feel a change
-# would be benifitial to all, please feel free to send
+# would be benificial to all, please feel free to send
# a patch to the cygwin mailing list.
# User dependent .bashrc file
+
+## Shell options
+
# See man bash for more options...
# Don't wait for job termination notification
@@ -22,6 +25,33 @@
# Don't use ^D to exit
# set -o ignoreeof
+# Use case-insensitive filename globbing
+# shopt -s nocaseglob
+
+
+## Completion options
+
+# These completion tuning parameters change the default behavior of
+# bash_completion:
+
+# Define to access remotely checked-out files over passwordless ssh for CVS
+# COMP_CVS_REMOTE=1
+
+# Define to avoid stripping description in --option=description of
+# './configure --help'
+# COMP_CONFIGURE_HINTS=1
+
+# Define to avoid flattening internal contents of tar files
+# COMP_TAR_INTERNAL_PATHS=1
+
+# If this shell is interactive, turn on programmable completion enhancements.
+# Any completions you add in ~/.bash_completion are sourced last.
+# case $- in
+# *i*) [[ -f /etc/bash_completion ]] && . /etc/bash_completion ;;
+# esac
+
+
+## History options
# Don't put duplicate lines in the history.
# export HISTCONTROL=ignoredups
@@ -30,6 +60,8 @@
# export HISTIGNORE="[ ]*:&:bg:fg"
+## Aliases
+
# Some example alias instructions
# If these are enabled they will be used instead of any instructions
# they may mask. For example, alias rm='rm -i' will mask the rm
@@ -59,6 +91,7 @@
# alias l='ls -CF' #
+## Functions
+
# Some example functions
# function settitle() { echo -n "^[]2;$@^G^[]1;$@^G"; }
-