diff options
Diffstat (limited to 'bash-completion')
-rw-r--r-- | bash-completion/Makemodule.am | 3 | ||||
-rw-r--r-- | bash-completion/tailf | 28 |
2 files changed, 0 insertions, 31 deletions
diff --git a/bash-completion/Makemodule.am b/bash-completion/Makemodule.am index ff7b052b5..6885ae91c 100644 --- a/bash-completion/Makemodule.am +++ b/bash-completion/Makemodule.am @@ -90,9 +90,6 @@ endif if BUILD_SETSID dist_bashcompletion_DATA += bash-completion/setsid endif -if BUILD_TAILF -dist_bashcompletion_DATA += bash-completion/tailf -endif if BUILD_WHEREIS dist_bashcompletion_DATA += bash-completion/whereis endif diff --git a/bash-completion/tailf b/bash-completion/tailf deleted file mode 100644 index 0d4c869c0..000000000 --- a/bash-completion/tailf +++ /dev/null @@ -1,28 +0,0 @@ -_tailf_module() -{ - local cur prev OPTS - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - case $prev in - '-n'|'--lines') - COMPREPLY=( $(compgen -W "number" -- $cur) ) - return 0 - ;; - '-h'|'--help'|'-V'|'--version') - return 0 - ;; - esac - case $cur in - -*) - OPTS="--lines --version --help" - COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) - return 0 - ;; - esac - local IFS=$'\n' - compopt -o filenames - COMPREPLY=( $(compgen -f -- $cur) ) - return 0 -} -complete -F _tailf_module tailf |