From 1b5c3096caaa6cd903473a69ec0890f40a986967 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 18 May 2020 09:05:19 +0530 Subject: Option -P: specify plugin key to run on start --- misc/auto-completion/fish/nnn.fish | 1 + 1 file changed, 1 insertion(+) (limited to 'misc/auto-completion/fish') diff --git a/misc/auto-completion/fish/nnn.fish b/misc/auto-completion/fish/nnn.fish index 65ab030..1b6455b 100644 --- a/misc/auto-completion/fish/nnn.fish +++ b/misc/auto-completion/fish/nnn.fish @@ -26,6 +26,7 @@ complete -c nnn -s l -r -d 'lines to move per scroll' complete -c nnn -s n -d 'start in type-to-nav mode' complete -c nnn -s o -d 'open files only on Enter' complete -c nnn -s p -r -d 'copy selection to file' -a '-\tstdout' +complete -c nnn -s P -r -d 'plugin key to run' -x -a '(echo $NNN_PLUG | awk -F: -v RS=\; \'{print $1"\t"$2}\')' complete -c nnn -s Q -d 'disable quit confirmation' complete -c nnn -s r -d 'show cp, mv progress (Linux-only)' complete -c nnn -s R -d 'disable rollover at edges' -- cgit v1.2.3-70-g09d2