diff options
author | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:17:40 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-10-23 18:19:39 (GMT) |
commit | adbcf19958300e9b6598990184c8815b945ba0ee (patch) | |
tree | f4283c850ac0ac202c17e78a637ee7ca8147621b /abs/extra-testing/bash-completion/cowsay.bashcomp | |
parent | 61a68250df10d29b624650948484898334ff22d0 (diff) | |
download | linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2 |
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/extra-testing/bash-completion/cowsay.bashcomp')
-rw-r--r-- | abs/extra-testing/bash-completion/cowsay.bashcomp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/abs/extra-testing/bash-completion/cowsay.bashcomp b/abs/extra-testing/bash-completion/cowsay.bashcomp deleted file mode 100644 index 77d8be9..0000000 --- a/abs/extra-testing/bash-completion/cowsay.bashcomp +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/games-misc/cowsay/files/cowsay.bashcomp,v 1.1 2005/02/06 14:37:54 ka0ttic Exp $ - -# bash command-line completion for cowsay -# Author: Aaron Walker <ka0ttic@gentoo.org> -# Modified by: Michal Bentkowski <mr.ecik at gmail.com> - -_cowsay() { - local cur prev opts x - COMPREPLY=() - cur="${COMP_WORDS[COMP_CWORD]}" - prev="${COMP_WORDS[COMP_CWORD-1]}" - opts="-e -f -h -l -n -T -W -b -d -g -p -s -t -w -y" - - if [[ "${cur}" == -* || ${COMP_CWORD} -eq 1 ]] ; then - COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) - return 0 - fi - - case "${prev}" in - -f) - COMPREPLY=( $( command ls /usr/share/cowsay| \ - sed -ne 's/^\('$cur'.*\)\.cow$/\1/p') ) - return 0 - ;; - -[eTW]) - COMPREPLY=() - ;; - esac -} -complete -o filenames -F _cowsay cowsay cowthink - -# vim: set ft=sh tw=80 sw=4 et : |