aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorGravatar Anna Arad <4895022+annagrram@users.noreply.github.com>2019-10-23 17:58:08 +0300
committerGravatar GitHub <noreply@github.com>2019-10-23 17:58:08 +0300
commit45387a431d84bc779f38a7811aa615cebdfd1d07 (patch)
treee1dffef5bcd37ec39f05fc1a654412101e583829 /misc
parentb81affffa1cadbfcacd6e3d24295d97f363b537f (diff)
downloadnnn-45387a431d84bc779f38a7811aa615cebdfd1d07.tar.gz
Fix Fish autocomplete suggestions for sessions
Diffstat (limited to 'misc')
-rw-r--r--misc/auto-completion/fish/nnn.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/auto-completion/fish/nnn.fish b/misc/auto-completion/fish/nnn.fish
index 7119644..172a6b1 100644
--- a/misc/auto-completion/fish/nnn.fish
+++ b/misc/auto-completion/fish/nnn.fish
@@ -15,7 +15,7 @@ complete -c nnn -s a -d 'use access time'
complete -c nnn -s b -r -d 'bookmark key to open' -x -a '(echo $NNN_BMS | awk -F: -v RS=\; \'{print $1"\t"$2}\')'
complete -c nnn -s c -d 'cli-only opener'
complete -c nnn -s d -d 'start in detail mode'
-complete -c nnn -s e -r -d 'load session by name' -x -a '@\t"last session" (ls $nnn_config)'
+complete -c nnn -s e -r -d 'load session by name' -x -a '@\t"last session" (ls $sessions_dir)'
complete -c nnn -s f -d 'run filter as cmd on prompt key'
complete -c nnn -s H -d 'show hidden files'
complete -c nnn -s i -d 'start in navigate-as-you-type mode'