about summary refs log tree commit diff
path: root/Completion/Core
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-12-15 22:19:51 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-12-15 22:19:51 +0000
commite2a574196abe60cae022a312f3f3ca05c7bdd2a6 (patch)
tree45671e7415363a7d5a69b08816900a06196e2bc3 /Completion/Core
parentbc16680564fa11ce6995c4d26fd69ceb9eb18293 (diff)
downloadzsh-e2a574196abe60cae022a312f3f3ca05c7bdd2a6.tar.gz
zsh-e2a574196abe60cae022a312f3f3ca05c7bdd2a6.tar.xz
zsh-e2a574196abe60cae022a312f3f3ca05c7bdd2a6.zip
zsh-3.1.6-pws-12
Diffstat (limited to 'Completion/Core')
-rw-r--r--Completion/Core/_style45
1 files changed, 0 insertions, 45 deletions
diff --git a/Completion/Core/_style b/Completion/Core/_style
deleted file mode 100644
index b0cbd7b00..000000000
--- a/Completion/Core/_style
+++ /dev/null
@@ -1,45 +0,0 @@
-#autoload
-
-local tags get i
-
-if [[ "$1" = -g ]]; then
-  get=yes
-  shift
-fi
-
-if (( ${+_cur_tags[${funcstack[2,-1]}]} )); then
-  tags="${_cur_tags[${funcstack[2,-1]}]}"
-else
-  tags="${_cur_tags[${funcstack[3,-1]}]}"
-fi
-
-if [[ "$tags" = *:${1}\[*\]:* ]]; then
-
-  tags="${${tags#*:${1}\[}%%\]*}"
-
-  if [[ $# -eq 2 ]]; then
-    if [[ -n "$get" ]]; then
-      eval "${2}=\"$tags\""
-      return 0
-    fi
-
-    [[ "$tags" = (|*,)${2}(|,*) ]]
-    return
-  fi
-
-  [[ "$tags" = (|*,)${2}(|(\=|,)*) ]] || return 1
-
-  if [[ -n "$get" ]]; then
-    if [[ "$tags" = (|*,)${2}\=* ]]; then
-      eval "${3}=\"${${tags#(|*,)${2}\=}%%,*}\""
-    else
-      eval "${3}=''"
-    fi
-    return 0
-  fi
-
-  [[ "$tags" = (|*,)${2}\=(|[^,]#,)${3}(|,*) ]] 
-  return
-fi
-
-return 1