diff options
Diffstat (limited to 'lib/keyringer/completions/zsh')
-rw-r--r-- | lib/keyringer/completions/zsh/_keyringer | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/keyringer/completions/zsh/_keyringer b/lib/keyringer/completions/zsh/_keyringer index 3aba2b3..b8f9d31 100644 --- a/lib/keyringer/completions/zsh/_keyringer +++ b/lib/keyringer/completions/zsh/_keyringer @@ -33,6 +33,13 @@ _keyringer() { # Initial options local config="$HOME/.keyringer" + + # Check if we have initial configuration + if [ ! -d "$config" ]; then + return + fi + + # Process config local keyrings="`ls $config | sed -e 's/config//'`" _arguments \ |