summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2009-06-13 19:34:24 +0000
committerTristan Heaven <tristan@gentoo.org>2009-06-13 19:34:24 +0000
commitf181386a9353afa9f57bfa0b689e667c21845710 (patch)
treec25daadf838b0ed9f6e7d452b69de6e3287efe38 /games-misc/cowsay
parent(Non-maintainer commit) Fix bug #273440, patch by Lars Wendler (Polynomial-C) (diff)
downloadhistorical-f181386a9353afa9f57bfa0b689e667c21845710.tar.gz
historical-f181386a9353afa9f57bfa0b689e667c21845710.tar.bz2
historical-f181386a9353afa9f57bfa0b689e667c21845710.zip
rm
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'games-misc/cowsay')
-rw-r--r--games-misc/cowsay/files/cowsay.bashcomp35
1 files changed, 0 insertions, 35 deletions
diff --git a/games-misc/cowsay/files/cowsay.bashcomp b/games-misc/cowsay/files/cowsay.bashcomp
deleted file mode 100644
index 94860b240689..000000000000
--- a/games-misc/cowsay/files/cowsay.bashcomp
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/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>
-
-_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=($(compgen -f -- ${cur}) \
- $(compgen -W "$(\
- for x in /usr/share/cowsay-*/cows/*.cow ; do \
- [[ -f ${x} ]] && { local y=${x##*/} ; echo ${y%.*} ; } \
- done)" -- ${cur}) )
- ;;
- -[eTW])
- COMPREPLY=()
- ;;
- esac
-}
-complete -o filenames -F _cowsay cowsay cowthink
-
-# vim: set ft=sh tw=80 sw=4 et :