aboutsummaryrefslogtreecommitdiffstats
path: root/misc/auto-completion
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-08-30 20:55:23 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-08-30 21:00:47 +0530
commitec873ab4fa92c018b65a4785eca55348d256790d (patch)
tree6817dbfb9c9168204dbfc08ad485a81ac0a84d39 /misc/auto-completion
parent3f40980dd03892c2225b89aa57530990c3074dfb (diff)
downloadnnn-ec873ab4fa92c018b65a4785eca55348d256790d.tar.gz
Option -a to use file access time
Diffstat (limited to 'misc/auto-completion')
-rw-r--r--misc/auto-completion/bash/nnn-completion.bash1
-rw-r--r--misc/auto-completion/fish/nnn.fish1
-rw-r--r--misc/auto-completion/zsh/_nnn1
3 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 56d2beb..2b81d31 100644
--- a/misc/auto-completion/bash/nnn-completion.bash
+++ b/misc/auto-completion/bash/nnn-completion.bash
@@ -11,6 +11,7 @@ _nnn () {
local cur=$2 prev=$3
local -a opts
opts=(
+ -a
-b
-d
-H
diff --git a/misc/auto-completion/fish/nnn.fish b/misc/auto-completion/fish/nnn.fish
index 970c24a..1a2eed4 100644
--- a/misc/auto-completion/fish/nnn.fish
+++ b/misc/auto-completion/fish/nnn.fish
@@ -5,6 +5,7 @@
# Arun Prakash Jana <engineerarun@gmail.com>
#
+complete -c nnn -s a -d 'use access time'
complete -c nnn -s b -r -d 'bookmark key to open'
complete -c nnn -s d -d 'start in detail mode'
complete -c nnn -s H -d 'show hidden files'
diff --git a/misc/auto-completion/zsh/_nnn b/misc/auto-completion/zsh/_nnn
index 119fc5a..feb3203 100644
--- a/misc/auto-completion/zsh/_nnn
+++ b/misc/auto-completion/zsh/_nnn
@@ -9,6 +9,7 @@
setopt localoptions noshwordsplit noksharrays
local -a args
args=(
+ '(-a)-a[use access time]'
'(-b)-b[bookmark key to open]:key char'
'(-d)-d[start in detail mode]'
'(-H)-H[show hidden files]'