summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development.mdwn8
-rw-r--r--lib/keyringer/completions/zsh/_keyringer2
2 files changed, 9 insertions, 1 deletions
diff --git a/development.mdwn b/development.mdwn
index 94c8a24..1313e9a 100644
--- a/development.mdwn
+++ b/development.mdwn
@@ -94,6 +94,14 @@ Run lintian (or [add it to your pbuilder hooks](http://askubuntu.com/questions/1
lintian --info --display-info --pedantic --color auto \
../build-area/keyringer_$VERSION*.changes
+Adding a subcommand
+-------------------
+
+When adding a new subcommand, ensure:
+
+* Manpage is updated.
+* Shell completions are updated.
+
References
----------
diff --git a/lib/keyringer/completions/zsh/_keyringer b/lib/keyringer/completions/zsh/_keyringer
index 3a10347..47a83fc 100644
--- a/lib/keyringer/completions/zsh/_keyringer
+++ b/lib/keyringer/completions/zsh/_keyringer
@@ -19,8 +19,8 @@ _keyringer() {
fi
# Process config
- local keyrings="`ls --color=never $config | sed -e 's/config//'`"
source $config/config
+ local keyrings="`ls --color=never $config | sed -e 's/config//'`"
local keyring_path="`eval echo '$'$words[2]`"
_arguments \