From cf388649b9cd6fba38b9c0dca49c29bad3b6f737 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Thu, 19 Dec 2019 08:37:17 +0530 Subject: Internal states, sessions changes - replace bools for internal non-persistent binary states with an uchar - do not store path to session, derive from config path in tmp buffer - program option to load session is not `-s` - remove auto-stored session "@" on restore - minor help update --- misc/auto-completion/bash/nnn-completion.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 11b8ef2..22da4af 100644 --- a/misc/auto-completion/bash/nnn-completion.bash +++ b/misc/auto-completion/bash/nnn-completion.bash @@ -16,7 +16,6 @@ _nnn () -b -c -d - -e -E -g -H @@ -28,6 +27,7 @@ _nnn () -Q -r -R + -s -S -t -v @@ -39,7 +39,7 @@ _nnn () COMPREPLY=( $(compgen -W "$bookmarks" -- "$cur") ) elif [[ $prev == -p ]]; then COMPREPLY=( $(compgen -f -d -- "$cur") ) - elif [[ $prev == -e ]]; then + elif [[ $prev == -s ]]; then local sessions_dir=${XDG_CONFIG_HOME:-$HOME/.config}/nnn/sessions COMPREPLY=( $(cd "$sessions_dir" && compgen -f -d -- "$cur") ) elif [[ $cur == -* ]]; then -- cgit v1.2.3-70-g09d2