summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMarkus Vock <ruppi04@web.de>2012-03-31 14:44:35 +0200
committerMarkus Vock <ruppi04@web.de>2012-03-31 14:44:35 +0200
commit28bb8d4c358eefa9dd4df7fdb72c6882da7d68d0 (patch)
tree2012665165cde3df359fa45b3893eb546bba0a09 /misc
parent8991a2219e5245aa053051bcf8c0e159d411e02a (diff)
Added installation information; changed ‘svn command’ string to ‘be command’.
Diffstat (limited to 'misc')
-rw-r--r--misc/completion/_be12
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/completion/_be b/misc/completion/_be
index 15f9fe0..11a4ec3 100644
--- a/misc/completion/_be
+++ b/misc/completion/_be
@@ -1,4 +1,8 @@
#compdef be
+#
+# This file should be copied into one of the directories in $fpath;
+# e. g. /usr/local/share/zsh/site-functions/_be.
+# From then on, every new shell should have the be completion.
__be_commands () {
local -a commands
@@ -28,7 +32,7 @@ __be_commands () {
)
integer ret=1
- _describe -t commands 'commands' commands && ret=0
+ _describe -t commands 'command' commands && ret=0
return ret
}
@@ -355,17 +359,13 @@ _be () {
case $state in
(command)
- _wanted commands expl 'svn command' __be_commands && ret=0
+ _wanted commands expl 'be command' __be_commands && ret=0
#__be_commands
;;
(option-or-argument)
becommand="${words[1]}"
curcontext="${curcontext%:*:*}:be${becommand}:"
_call_function ret _be-${becommand}
-
- ;;
- *)
- echo "$state"
;;
esac
}