Make k3b option vs filename completion work more like others.
This commit is contained in:
parent
3de141dd76
commit
247ada3cc4
@ -37,8 +37,11 @@ _k3b()
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
if [[ "$cur" == -* ]] ; then
|
||||||
|
COMPREPLY=( $( compgen -W "$( _parse_help "$1" )" -- "$cur" ) )
|
||||||
|
else
|
||||||
_filedir
|
_filedir
|
||||||
_longopt k3b
|
fi
|
||||||
} &&
|
} &&
|
||||||
complete -F _k3b -o filenames k3b
|
complete -F _k3b -o filenames k3b
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user