diff options
Diffstat (limited to 'app-text/tree/files/tree.bashcomp')
-rw-r--r-- | app-text/tree/files/tree.bashcomp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/app-text/tree/files/tree.bashcomp b/app-text/tree/files/tree.bashcomp deleted file mode 100644 index fed493575ea2..000000000000 --- a/app-text/tree/files/tree.bashcomp +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# bash command-line completion for tree -# Author: Aaron Walker <ka0ttic@gentoo.org> - -_tree() { - local cur prev opts - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - opts="-a -d -l -f -i -q -N -p -u -g -s -D -F -r -t -x -L -A - -S -n -C -P -I -H -T -R -o --inodes --device --noreport --nolinks - --dirsfirst --charset --help" - - if [[ ${cur} == -* ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) - return 0 - fi - - case "${prev}" in - -L|-P|-I|-H|-T|--charset|--help) - ;; - -o) - _filedir - ;; - *) - _filedir -d - ;; - esac -} -complete -o filenames -F _tree tree - -# vim: set ft=sh tw=80 sw=4 et : |