about summary refs log tree commit diff
path: root/Completion/Base/_tilde
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:24:41 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:24:41 +0000
commit2cb2aa16d0ba87bafe97016890a420b7b02d8be4 (patch)
tree2a45e0457f396397124a3bf7863eba569d79b1d8 /Completion/Base/_tilde
parent579339493a72ef07fadcd615635de6c566dac241 (diff)
downloadzsh-2cb2aa16d0ba87bafe97016890a420b7b02d8be4.tar.gz
zsh-2cb2aa16d0ba87bafe97016890a420b7b02d8be4.tar.xz
zsh-2cb2aa16d0ba87bafe97016890a420b7b02d8be4.zip
moved to Completion/Zsh/Context/_tilde
Diffstat (limited to 'Completion/Base/_tilde')
-rw-r--r--Completion/Base/_tilde30
1 files changed, 0 insertions, 30 deletions
diff --git a/Completion/Base/_tilde b/Completion/Base/_tilde
deleted file mode 100644
index 058d218c8..000000000
--- a/Completion/Base/_tilde
+++ /dev/null
@@ -1,30 +0,0 @@
-#compdef -tilde-
-
-# We use all named directories and user names here. If this is too slow
-# for you or if there are too many of them, you may want to use
-# `compadd -qS/ -a friends' or something like that.
-
-[[ -n "$compstate[quote]" ]] && return 1
-
-local expl suf dirs list lines revlines i ret disp nm="$compstate[nmatches]"
-
-if [[ "$SUFFIX" = */* ]]; then
-  ISUFFIX="/${SUFFIX#*/}$ISUFFIX"
-  SUFFIX="${SUFFIX%%/*}"
-  suf=(-S '')
-else
-  suf=(-qS/)
-fi
-
-_tags users named-directories directory-stack
-
-while _tags; do
-  _requested users && _users "$suf[@]" "$@" && ret=0
-
-  _requested named-directories expl 'named directory' \
-      compadd "$suf[@]" "$@" -k nameddirs
-
-  _requested directory-stack && _popd "$suf[@]" && ret=0
-
-  (( ret )) || return 0
-done