]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix zsh path autocompletion (#88)
authorNexie Kind <Nexion@users.noreply.github.com>
Fri, 2 Mar 2018 12:01:11 +0000 (15:01 +0300)
committerArun Prakash Jana <engineerarun@gmail.com>
Fri, 2 Mar 2018 12:01:11 +0000 (17:31 +0530)
scripts/auto-completion/zsh/_nnn

index 8dfe05359579b830e0bd9d7fa27af1e42f8f257d..3ccfeb7d948a87235cc99bb9245dc4be8af45bc1 100644 (file)
@@ -17,6 +17,6 @@ args=(
     '(-p)-p[specify custom nlay]:path to nlay'
     '(-S)-S[start in disk usage analyzer mode]'
     '(-v)-v[show program version and exit]'
-    '*: :_guard "^-*" keyword'
+    '*:filename:_files'
 )
 _arguments -S -s $args