summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:17:58 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:17:58 +0000
commit2a7cbe584f5932d1d2d71fe25f16f5f290187fa3 (patch)
tree487c4d38ecc0113b697d782457ecfacbe294d8c7 /Completion
parent894cc61b1e21f508bfb0d31a1c855b00954fb0ba (diff)
downloadzsh-2a7cbe584f5932d1d2d71fe25f16f5f290187fa3.tar.gz
zsh-2a7cbe584f5932d1d2d71fe25f16f5f290187fa3.tar.xz
zsh-2a7cbe584f5932d1d2d71fe25f16f5f290187fa3.zip
moved to Completion/Zsh/Type/_aliases
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Builtins/_aliases17
1 files changed, 0 insertions, 17 deletions
diff --git a/Completion/Builtins/_aliases b/Completion/Builtins/_aliases
deleted file mode 100644
index db8e31678..000000000
--- a/Completion/Builtins/_aliases
+++ /dev/null
@@ -1,17 +0,0 @@
-#compdef alias unalias
-
-local expl sel args opts
-
-zparseopts -E -D s:=sel
-
-[[ -z $sel ]] && sel=rg
-
-opts=( "$@" )
-
-args=()
-[[ $sel = *r* ]] && args=( $args 'aliases:regular alias:compadd -k aliases' )
-[[ $sel = *g* ]] && args=( $args 'global-aliases:global alias:compadd -k galiases' )
-[[ $sel = *R* ]] && args=( $args 'disabled-aliases:disabled regular alias:compadd -k dis_aliases' )
-[[ $sel = *G* ]] && args=( $args 'disabled-global-aliases:disabled global alias:compadd -k dis_galiases' )
-
-_alternative -O opts $args