README: fix integration snippets
Runs of whitespace used to be smashed together.
This commit is contained in:
parent
571ec74706
commit
c0f0328762
|
@ -48,7 +48,7 @@ To start using this navigator, put the following in your .zshrc:
|
||||||
....
|
....
|
||||||
sdn-navigate () {
|
sdn-navigate () {
|
||||||
# ... possibly zle-line-init
|
# ... possibly zle-line-init
|
||||||
eval `sdn`
|
eval "`sdn`"
|
||||||
[ -z "$cd" ] || cd "$cd"
|
[ -z "$cd" ] || cd "$cd"
|
||||||
[ -z "$insert" ] || LBUFFER="$LBUFFER$insert "
|
[ -z "$insert" ] || LBUFFER="$LBUFFER$insert "
|
||||||
zle reset-prompt
|
zle reset-prompt
|
||||||
|
@ -67,7 +67,7 @@ sdn-navigate () {
|
||||||
SDN_L=$READLINE_LINE SDN_P=$READLINE_POINT
|
SDN_L=$READLINE_LINE SDN_P=$READLINE_POINT
|
||||||
READLINE_LINE=
|
READLINE_LINE=
|
||||||
|
|
||||||
eval `sdn`
|
eval "`sdn`"
|
||||||
[[ -z "$cd" ]] || cd "$cd"
|
[[ -z "$cd" ]] || cd "$cd"
|
||||||
[[ -z "$insert" ]] || {
|
[[ -z "$insert" ]] || {
|
||||||
SDN_L="${SDN_L:0:$SDN_P}$insert ${SDN_L:$SDN_P}"
|
SDN_L="${SDN_L:0:$SDN_P}$insert ${SDN_L:$SDN_P}"
|
||||||
|
|
Loading…
Reference in New Issue