diff options
Diffstat (limited to 'conf_completion')
-rw-r--r-- | conf_completion | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf_completion b/conf_completion index a8d5d3b..6c27456 100644 --- a/conf_completion +++ b/conf_completion @@ -4,7 +4,7 @@ _conf() { COMPREPLY=() local cur="${COMP_WORDS[COMP_CWORD]}" - local commands="add ls list search edit relink grep help version" + local commands="add ls list search edit cat relink grep help version" if [[ $COMP_CWORD -gt 1 ]]; then local lastarg="${COMP_WORDS[$COMP_CWORD-1]}" case "${COMP_WORDS[1]}" in @@ -22,7 +22,7 @@ _conf() COMPREPLY=($(compgen -f -- ${cur})) fi ;; - edit|e|editg|eg) + edit|e|editg|eg|cat|c) COMPREPLY=($(compgen -W "$(conf ls -G) \ $(conf ls -l | xargs -If basename f) \ $(for g in $(conf ls -G); do \ |