forked from mirrors/nixpkgs
* Disable the "smart" tab completion again, because it causes lots of
problems: - It doesn't support filenames with spaces. - It inserts a space after the filename when tab-completing in an "svn" command. - Many people find it annoying that tab-completion on commands like "tar" only matches filenames with the "right" extension. - Lluís reported bash apparently crashing on some tab completions. We should probably make this optional, and maybe use a subset of the bash_completion file in the bash distribution that works. svn path=/nixos/trunk/; revision=20179
This commit is contained in:
parent
cc0a2a6944
commit
0bae6c2c18
|
@ -63,7 +63,8 @@ alias which="type -p"
|
|||
|
||||
# The "non-interactive" Bash build does not support programmable
|
||||
# completion so check whether it's available.
|
||||
if shopt -q progcomp 2> /dev/null; then
|
||||
if false; then
|
||||
#if shopt -q progcomp 2> /dev/null; then
|
||||
# Completion.
|
||||
if [ -z "$BASH_COMPLETION_DIR" -a -d "@bash@/etc/bash_completion.d" ]; then
|
||||
BASH_COMPLETION_DIR="@bash@/etc/bash_completion.d"
|
||||
|
|
Loading…
Reference in a new issue