From 64667b377d132cd915d128d91c2ab7b38c1ba683 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 17 Jan 2020 19:06:42 +0530 Subject: Options -e and -t Replaces the following environment variables: - NNN_USE_EDITOR - NNN_IDLE_TIMEOUT --- misc/auto-completion/bash/nnn-completion.bash | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'misc/auto-completion/bash') 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 -- cgit v1.2.3-70-g09d2