summaryrefslogtreecommitdiff
path: root/pcr/i2p/i2prouter.bash
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/i2p/i2prouter.bash')
-rw-r--r--pcr/i2p/i2prouter.bash12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr/i2p/i2prouter.bash b/pcr/i2p/i2prouter.bash
new file mode 100644
index 000000000..d95158603
--- /dev/null
+++ b/pcr/i2p/i2prouter.bash
@@ -0,0 +1,12 @@
+_i2prouter()
+{
+ local cur prev opts
+ _init_completion || return
+
+ COMPREPLY=()
+ cur="${COMP_WORDS[COMP_CWORD]}"
+ prev="${COMP_WORDS[COMP_CWORD-1]}"
+ opts="console start stop graceful restart dump"
+ COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
+}
+complete -F _i2prouter i2prouter