diff options
Diffstat (limited to 'misc/auto-completion/bash')
-rw-r--r-- | misc/auto-completion/bash/nnn-completion.bash | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/auto-completion/bash/nnn-completion.bash b/misc/auto-completion/bash/nnn-completion.bash index 74349e6..b6e370d 100644 --- a/misc/auto-completion/bash/nnn-completion.bash +++ b/misc/auto-completion/bash/nnn-completion.bash @@ -17,6 +17,7 @@ _nnn () -b -c -d + -e -E -g -H @@ -29,6 +30,7 @@ _nnn () -R -s -S + -t -v -V -x @@ -42,6 +44,8 @@ _nnn () elif [[ $prev == -s ]]; then local sessions_dir=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/sessions COMPREPLY=( $(cd "$sessions_dir" && compgen -f -d -- "$cur") ) + elif [[ $prev == -t ]]; then + return 1 elif [[ $cur == -* ]]; then COMPREPLY=( $(compgen -W "${opts[*]}" -- "$cur") ) else |