diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2011-04-21 11:04:51 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-04-21 11:15:01 +0300 |
commit | 8048917968a679f3eecfd5fd237a7ee2823ab855 (patch) | |
tree | f8f9e67299a0005b1b2441c3232f4c08932385e9 /completions/xhost | |
parent | e3ca91b9866e60ac541c9a1cf065b855a1681bc3 (diff) | |
download | bash-completion-8048917968a679f3eecfd5fd237a7ee2823ab855.tar.gz |
Use _init_completion() in completions/[q-z]*.
Diffstat (limited to 'completions/xhost')
-rw-r--r-- | completions/xhost | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/xhost b/completions/xhost index 0476afe1..2cbabe86 100644 --- a/completions/xhost +++ b/completions/xhost @@ -4,8 +4,8 @@ have xhost || return _xhost () { - local cur - _get_comp_words_by_ref cur + local cur prev words cword + _init_completion || return case $cur in +*) _known_hosts_real -p+ "${cur:1}" ;; |