From 37988cf854f4688614dd3f00a4ec04d55552dbb6 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 20 Dec 2019 15:49:13 +0530 Subject: Program option to load session is now `-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