- dselect fix by Ariel Fermani <the_end@bbs.frc.utn.edu.ar>
This commit is contained in:
parent
a95d2df9b6
commit
93e0970ac3
@ -1,6 +1,6 @@
|
|||||||
# bash_completion - some programmable completion functions for bash 2.05b
|
# bash_completion - some programmable completion functions for bash 2.05b
|
||||||
#
|
#
|
||||||
# $Id: bash_completion,v 1.590 2003/07/13 08:12:26 ianmacd Exp $
|
# $Id: bash_completion,v 1.591 2003/07/20 08:46:37 ianmacd Exp $
|
||||||
#
|
#
|
||||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||||
#
|
#
|
||||||
@ -3185,14 +3185,14 @@ _dselect()
|
|||||||
case "$prev" in
|
case "$prev" in
|
||||||
--admindir)
|
--admindir)
|
||||||
_filedir -d
|
_filedir -d
|
||||||
|
return 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
-@(D|debug))
|
-@(D|debug))
|
||||||
_filedir
|
_filedir
|
||||||
|
return 0
|
||||||
;;
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
COMPREPLY=( $( compgen -W -- $cur ) )
|
|
||||||
|
|
||||||
if [[ "$cur" == -* ]]; then
|
if [[ "$cur" == -* ]]; then
|
||||||
COMPREPLY=( $( compgen -W '--admindir --help --version --licence \
|
COMPREPLY=( $( compgen -W '--admindir --help --version --licence \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user