File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -140,11 +140,13 @@ have()
140140# This function checks whether a given readline variable
141141# is `on'.
142142#
143- _rl_enabled ()
143+ _comp_readline_variable_on ()
144144{
145145 [[ $( bind -v) == * $1 + ([[:space:]])on* ]]
146146}
147147
148+ _comp_deprecate_func _rl_enabled _comp_readline_variable_on
149+
148150# This function shell-quotes the argument
149151quote ()
150152{
@@ -2071,8 +2073,8 @@ _cd()
20712073 return
20722074 fi
20732075
2074- local -r mark_dirs=$( _rl_enabled mark-directories && echo y)
2075- local -r mark_symdirs=$( _rl_enabled mark-symlinked-directories && echo y)
2076+ local -r mark_dirs=$( _comp_readline_variable_on mark-directories && echo y)
2077+ local -r mark_symdirs=$( _comp_readline_variable_on mark-symlinked-directories && echo y)
20762078
20772079 # we have a CDPATH, so loop on its contents
20782080 for i in ${CDPATH//:/ $' \n ' } ; do
You can’t perform that action at this time.
0 commit comments