diff options
author | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2017-09-25 23:46:54 -0300 |
---|---|---|
committer | Gabriel F. T. Gomes <gabriel@inconstante.eti.br> | 2017-09-25 23:46:54 -0300 |
commit | 6d88f1055806932d9291f96847d2b691cccda2cd (patch) | |
tree | 0ff79eedaa8a239331256048981deedbd0721965 /completions/cfrun | |
parent | 059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff) | |
download | bash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz |
New upstream version 2.7upstream/2.7
Diffstat (limited to 'completions/cfrun')
-rw-r--r-- | completions/cfrun | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/cfrun b/completions/cfrun index 7dd1beff..f4d1f265 100644 --- a/completions/cfrun +++ b/completions/cfrun @@ -17,7 +17,7 @@ _cfrun() case $prev in -f) _filedir - return 0 + return ;; esac @@ -31,7 +31,7 @@ _cfrun() break fi done - [[ ! -f $hostfile ]] && return 0 + [[ ! -f $hostfile ]] && return COMPREPLY=( $(compgen -W "$( command grep -v \ -E '(=|^$|^#)' $hostfile )" -- "$cur" ) ) @@ -44,4 +44,4 @@ _cfrun() } && complete -F _cfrun cfrun -# ex: ts=4 sw=4 et filetype=sh +# ex: filetype=sh |