summaryrefslogtreecommitdiff
path: root/bash_completion
diff options
context:
space:
mode:
Diffstat (limited to 'bash_completion')
-rw-r--r--bash_completion5
1 files changed, 0 insertions, 5 deletions
diff --git a/bash_completion b/bash_completion
index 9c96db78..44f74c07 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