From 37ad5f43df0d83301447c659340570d8d2637912 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= <p@janouch.name>
Date: Tue, 20 Oct 2020 03:57:45 +0200
Subject: README.adoc: avoid unnecessary quotes for bash

Word expansion is not performed there.
---
 README.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'README.adoc')

diff --git a/README.adoc b/README.adoc
index d51dc76..bedacd6 100644
--- a/README.adoc
+++ b/README.adoc
@@ -91,12 +91,12 @@ sdn-navigate () {
   READLINE_LINE=
 
   while eval "`sdn "$SDN_L" "$(sdn-cursor)"`"; do
-    [[ -z "$cd" ]] || cd "$cd"
-    [[ -z "$insert" ]] || {
+    [[ -z $cd ]] || cd "$cd"
+    [[ -z $insert ]] || {
       SDN_L="${SDN_L:0:$SDN_P}$insert ${SDN_L:$SDN_P}"
       ((SDN_P=SDN_P+${#insert}+1))
     }
-    [[ -z "$helper" ]] && break
+    [[ -z $helper ]] && break
     /bin/sh -c "$helper" || break
   done
 }
-- 
cgit v1.2.3

