]> Sergey Matveev's repositories - nnn.git/commitdiff
Fix shellcheck report
authorArun Prakash Jana <engineerarun@gmail.com>
Sun, 14 Mar 2021 07:29:24 +0000 (12:59 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sun, 14 Mar 2021 07:29:24 +0000 (12:59 +0530)
plugins/fzcd

index a590d966eb321c926fe76e9a20c12f443b7be3ae..0c674eada8af9946ccbc444998101364f889183d 100755 (executable)
@@ -14,7 +14,7 @@ else
 fi
 
 if [ -n "$sel" ]; then
-    if [ "$sel" = "." ] || (! [ -d "$sel" ] && ! [ -f "$sel" ]); then
+    if [ "$sel" = "." ] || { ! [ -d "$sel" ] && ! [ -f "$sel" ]; }; then
         exit 0
     fi