[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-517-g88b897e
Ville Skyttä
ville.skytta at iki.fi
Sun Nov 6 21:50:01 UTC 2011
The following commit has been merged in the master branch:
commit 88b897e2241a728ca9d37fdcfa005930f8c59870
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sun Nov 6 23:48:59 2011 +0200
_cd: Don't try to complete variables (and fail), _init_completion already does.
diff --git a/bash_completion b/bash_completion
index 9c96db7..44f74c0 100644
--- a/bash_completion
+++ b/bash_completion
@@ -1489,11 +1489,6 @@ _cd()
_init_completion || return
local IFS=$'\n' i j k
- # try to allow variable completion
- if [[ "$cur" == ?(\\)\$* ]]; then
- COMPREPLY=( $( compgen -v -P '$' -- "${cur#?(\\)$}" ) )
- return 0
- fi
compopt -o filenames
--
bash-completion
More information about the Bash-completion-commits
mailing list