summaryrefslogtreecommitdiff
path: root/scripts/completions/bash/completion_jv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/completions/bash/completion_jv.sh')
-rw-r--r--scripts/completions/bash/completion_jv.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/completions/bash/completion_jv.sh b/scripts/completions/bash/completion_jv.sh
index 604fb8c..d6743e7 100644
--- a/scripts/completions/bash/completion_jv.sh
+++ b/scripts/completions/bash/completion_jv.sh
@@ -18,7 +18,7 @@ _jv_completion() {
local base_commands="create init direct unstain account update \
sheet status here move mv docs exit use sheets accounts \
as make drop track hold throw login \
- jump align"
+ jump align info"
# Subcommands - Account
local account_commands="list as add remove movekey mvkey mvk genpub help"
@@ -181,6 +181,14 @@ _jv_completion() {
return 0
fi
+ # Completion info
+ if [[ "$subcmd" == "info" ]]; then
+ if [[ $cword -eq 2 ]]; then
+ COMPREPLY=($(compgen -f -- "$cur"))
+ fi
+ return 0
+ fi
+
# aliases
case "$subcmd" in
"as")