diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2020-05-10 11:21:37 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2020-05-10 11:22:02 +0530 |
commit | 14beb0746f07f94f52c5b628b046d3c9f2add9c6 (patch) | |
tree | b13f2a9a8de065ffe5577766097f645ad8ea2f68 /misc/auto-completion/bash | |
parent | 609561494f106822b3deb5ff2ef184d17703f7df (diff) | |
download | nnn-14beb0746f07f94f52c5b628b046d3c9f2add9c6.tar.gz |
Fix #564: Option -l: number of lines to move on mouse scroll
Diffstat (limited to 'misc/auto-completion/bash')
-rw-r--r-- | misc/auto-completion/bash/nnn-completion.bash | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/auto-completion/bash/nnn-completion.bash b/misc/auto-completion/bash/nnn-completion.bash index b498b63..eeb1156 100644 --- a/misc/auto-completion/bash/nnn-completion.bash +++ b/misc/auto-completion/bash/nnn-completion.bash @@ -23,6 +23,7 @@ _nnn () -g -H -K + -l -n -o -p @@ -40,6 +41,8 @@ _nnn () if [[ $prev == -b ]]; then local bookmarks=$(echo $NNN_BMS | awk -F: -v RS=\; '{print $1}') COMPREPLY=( $(compgen -W "$bookmarks" -- "$cur") ) + elif [[ $prev == -l ]]; then + return 1 elif [[ $prev == -p ]]; then COMPREPLY=( $(compgen -f -d -- "$cur") ) elif [[ $prev == -s ]]; then |