mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-20 09:09:05 +01:00
bash-completion: do not specify bin absolute path to call bash_autocomplete CLI command
This commit is contained in:
parent
da2c90a337
commit
3c27fa92ca
1 changed files with 1 additions and 1 deletions
2
debian/ldapsaisie.bash-completion
vendored
2
debian/ldapsaisie.bash-completion
vendored
|
@ -6,7 +6,7 @@ _ldapsaisie()
|
||||||
_get_comp_words_by_ref -n "=" cur words cword
|
_get_comp_words_by_ref -n "=" cur words cword
|
||||||
|
|
||||||
# Retreive COMPREPLY using bash_autocomplete ldapsaisie CLI command
|
# Retreive COMPREPLY using bash_autocomplete ldapsaisie CLI command
|
||||||
COMPREPLY=( $(/usr/sbin/ldapsaisie bash_autocomplete ${cword} -- ${words[@]}) )
|
COMPREPLY=( $(ldapsaisie bash_autocomplete ${cword} -- ${words[@]}) )
|
||||||
|
|
||||||
# If current word to complete contain '=' and if it's a word-break char
|
# If current word to complete contain '=' and if it's a word-break char
|
||||||
# Note: This method was inspired by __ltrim_colon_completions helper.
|
# Note: This method was inspired by __ltrim_colon_completions helper.
|
||||||
|
|
Loading…
Reference in a new issue