README.adoc: avoid unnecessary quotes for bash

Word expansion is not performed there.
This commit is contained in:
Přemysl Eric Janouch 2020-10-20 03:57:45 +02:00
parent a95fa2f96d
commit 37ad5f43df
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

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