Browse Source

Option -c is gone

master
Arun Prakash Jana 6 years ago
parent
commit
21a491e660
No known key found for this signature in database GPG Key ID: A75979F35C080412
4 changed files with 4 additions and 5 deletions
  1. +1
    -2
      scripts/auto-completion/bash/nnn-completion.bash
  2. +1
    -1
      scripts/auto-completion/fish/nnn.fish
  3. +1
    -1
      scripts/auto-completion/zsh/_nnn
  4. +1
    -1
      scripts/quitcd/quitcd.csh

+ 1
- 2
scripts/auto-completion/bash/nnn-completion.bash View File

@@ -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


+ 1
- 1
scripts/auto-completion/fish/nnn.fish View File

@@ -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'


+ 1
- 1
scripts/auto-completion/zsh/_nnn View File

@@ -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
- 1
scripts/quitcd/quitcd.csh View File

@@ -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…
Cancel
Save