mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Option -c is gone
This commit is contained in:
parent
971f0ddda1
commit
21a491e660
|
@ -11,7 +11,7 @@ _nnn () {
|
||||||
local cur=$2 prev=$3
|
local cur=$2 prev=$3
|
||||||
local -a opts opts_with_args
|
local -a opts opts_with_args
|
||||||
opts=(
|
opts=(
|
||||||
-c
|
-C
|
||||||
-e
|
-e
|
||||||
-h
|
-h
|
||||||
-i
|
-i
|
||||||
|
@ -20,7 +20,6 @@ _nnn () {
|
||||||
-v
|
-v
|
||||||
)
|
)
|
||||||
opts_with_arg=(
|
opts_with_arg=(
|
||||||
-c
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Do not complete non option names
|
# Do not complete non option names
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# Arun Prakash Jana <engineerarun@gmail.com>
|
# Arun Prakash Jana <engineerarun@gmail.com>
|
||||||
#
|
#
|
||||||
|
|
||||||
complete -c nnn -s c -r -d 'specify dir color, disables if N>7'
|
complete -c nnn -s C -d 'disable directory color'
|
||||||
complete -c nnn -s e -d 'use exiftool instead of mediainfo'
|
complete -c nnn -s e -d 'use exiftool instead of mediainfo'
|
||||||
complete -c nnn -s h -d 'show this help and exit'
|
complete -c nnn -s h -d 'show this help and exit'
|
||||||
complete -c nnn -s i -d 'start in navigate-as-you-type mode'
|
complete -c nnn -s i -d 'start in navigate-as-you-type mode'
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
setopt localoptions noshwordsplit noksharrays
|
setopt localoptions noshwordsplit noksharrays
|
||||||
local -a args
|
local -a args
|
||||||
args=(
|
args=(
|
||||||
'(-c)-c[specify dir color, disables if N>7]:color code'
|
'(-C)-C[disable directory color]'
|
||||||
'(-e)-e[use exiftool instead of mediainfo]'
|
'(-e)-e[use exiftool instead of mediainfo]'
|
||||||
'(-h)-h[show this help and exit]'
|
'(-h)-h[show this help and exit]'
|
||||||
'(-i)-i[start in navigate-as-you-type mode]'
|
'(-i)-i[start in navigate-as-you-type mode]'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
setenv NNN_TMPFILE /tmp/nnn
|
setenv NNN_TMPFILE /tmp/nnn
|
||||||
|
|
||||||
alias n 'nnn -c 2; source "$NNN_TMPFILE"; rm "$NNN_TMPFILE"'
|
alias n 'nnn; source "$NNN_TMPFILE"; rm "$NNN_TMPFILE"'
|
||||||
|
|
Loading…
Reference in a new issue