summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2020-02-13 20:28:26 +0100
committerPřemysl Janouch <p@janouch.name>2020-02-13 20:33:16 +0100
commitc0f0328762b1e72a3f45ba85c4dc719d823c97d5 (patch)
tree59477a11ee5b7c5474aa2c11d0ea0406d49b3dd2
parent571ec74706cee1ee2ec4ac429eb0969301d6e669 (diff)
downloadsdn-c0f0328762b1e72a3f45ba85c4dc719d823c97d5.tar.gz
sdn-c0f0328762b1e72a3f45ba85c4dc719d823c97d5.tar.xz
sdn-c0f0328762b1e72a3f45ba85c4dc719d823c97d5.zip
README: fix integration snippets
Runs of whitespace used to be smashed together.
-rw-r--r--README.adoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.adoc b/README.adoc
index 080fba7..00d22d0 100644
--- a/README.adoc
+++ b/README.adoc
@@ -48,7 +48,7 @@ To start using this navigator, put the following in your .zshrc:
....
sdn-navigate () {
# ... possibly zle-line-init
- eval `sdn`
+ eval "`sdn`"
[ -z "$cd" ] || cd "$cd"
[ -z "$insert" ] || LBUFFER="$LBUFFER$insert "
zle reset-prompt
@@ -67,7 +67,7 @@ sdn-navigate () {
SDN_L=$READLINE_LINE SDN_P=$READLINE_POINT
READLINE_LINE=
- eval `sdn`
+ eval "`sdn`"
[[ -z "$cd" ]] || cd "$cd"
[[ -z "$insert" ]] || {
SDN_L="${SDN_L:0:$SDN_P}$insert ${SDN_L:$SDN_P}"