summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlayman <layman@localhost>2013-01-19 17:36:13 +0100
committerMartin Väth <martin@mvath.de>2015-10-11 10:48:35 +0200
commit6bcb0ae811832030fafd77812de353bf30ce3cd3 (patch)
tree046fe038f18f9ba0d60943f98babde1de29cb2da /app-shells/auto-fu-zsh/auto-fu-zsh-99999999.ebuild
parentBump noscript (diff)
downloadmv-6bcb0ae811832030fafd77812de353bf30ce3cd3.tar.gz
mv-6bcb0ae811832030fafd77812de353bf30ce3cd3.tar.bz2
mv-6bcb0ae811832030fafd77812de353bf30ce3cd3.zip
Bump zshrc-mv, auto-fu-zsh, zsh-syntax-highlighting
Diffstat (limited to 'app-shells/auto-fu-zsh/auto-fu-zsh-99999999.ebuild')
-rw-r--r--app-shells/auto-fu-zsh/auto-fu-zsh-99999999.ebuild112
1 files changed, 0 insertions, 112 deletions
diff --git a/app-shells/auto-fu-zsh/auto-fu-zsh-99999999.ebuild b/app-shells/auto-fu-zsh/auto-fu-zsh-99999999.ebuild
deleted file mode 100644
index 60f49b90..00000000
--- a/app-shells/auto-fu-zsh/auto-fu-zsh-99999999.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-inherit eutils
-
-pPN=${PN%-zsh}
-mPN="${pPN}.zsh"
-case ${PV} in
-99999999*)
- LIVE=:
- EGIT_REPO_URI="git://github.com/hchbaw/${mPN}.git"
- EGIT_PROJECT="${PN}.git"
- EGIT_BRANCH="pu"
- [ -n "${EVCS_OFFLINE}" ] || EGIT_REPACK=true
- inherit git-2
- PROPERTIES="live"
- SRC_URI=""
- KEYWORDS="";;
-*)
- LIVE=false
- RESTRICT="mirror"
- inherit vcs-snapshot
- SRC_URI="http://github.com/hchbaw/${mPN}/tarball/v${PV} -> ${P}.tar.gz"
- KEYWORDS="~amd64 ~x86";;
-esac
-
-DESCRIPTION="zsh automatic complete-word and list-choices: incremental completion"
-HOMEPAGE="https://github.com/hchbaw/auto-fu.zsh/"
-
-LICENSE="HPND"
-SLOT="0"
-IUSE="+compile +kill-line"
-
-DEPEND="compile? ( app-shells/zsh )"
-
-DESTPATH="/usr/share/zsh/site-contrib/${pPN}"
-
-generate_example() {
- echo "# Put something like the following into your ~/.zshrc
-
-# First, we set sane options for the standard completion system:
-
-autoload -Uz compinit is-at-least
-compinit -D -u
-zstyle ':completion:*' completer _complete
-zstyle ':completion:*' list-colors \${(s.:.)LS_COLORS}
-zstyle ':completion:*' menu select=1 # interactive
-zstyle ':completion:*' accept-exact-dirs true
-zstyle ':completion:*' path-completion false
-if is-at-least 4.3.10
-then zstyle ':completion:*' format \"%B%F{yellow}%K{blue}%d%k%f%b\"
-else zstyle ':completion:*' format \"%B%d%b\"
-fi
-
-# Now we source ${PN}"
- if use compile
- then echo ". ${DESTPATH}/${pPN}
-auto-fu-install"
- else echo ". ${DESTPATH}/${pPN}.zsh"
- fi
- echo "
-# Finally, we configure ${PN}
-
-zstyle ':auto-fu:highlight' input
-zstyle ':auto-fu:highlight' completion bold,fg=blue
-zstyle ':auto-fu:highlight' completion/one fg=blue
-zstyle ':auto-fu:var' postdisplay # \$'\\n-azfu-'
-#zstyle ':auto-fu:var' enable all
-#zstyle ':auto-fu:var' track-keymap-skip opp
-#zstyle ':auto-fu:var' disable magic-space
-zle-line-init() auto-fu-init
-zle -N zle-line-init
-zle -N zle-keymap-select auto-fu-zle-keymap-select"
-}
-
-src_prepare() {
- (
- umask 022
- generate_example >"${S}"/zshrc-example
- )
- if ${LIVE}
- then if use kill-line
- then epatch "${FILESDIR}"/kill-line-live.patch
- fi
- else
- # Make Ctrl-D return correctly.
- # In case of nonempty buffer act like kill-line or kill-whole-line.
- if use kill-line
- then epatch "${FILESDIR}"/kill-line.patch
- else epatch "${FILESDIR}"/exit.patch
- fi
- # Reset color with "return":
- epatch "${FILESDIR}"/reset-color.patch
- # Make it work with older zsh versions:
- epatch "${FILESDIR}"/zsh-compatibility.patch
- fi
- epatch_user
-}
-
-src_compile() {
- ! use compile || mPN="${mPN}" \
- zsh -c 'source ${mPN} && auto-fu-zcompile ${PWD}/${mPN} ${PWD}' || die
-}
-
-src_install() {
- insinto "${DESTPATH}"
- doins "${mPN}"
- ! use compile || doins "${pPN}" "${pPN}.zwc"
- dodoc zshrc-example README*
-}