Skip to content

Commit 38d0cfb

Browse files
relastleHiroki-Konishi
authored andcommitted
Update: quote out varibale with double-quatation
1 parent 248cded commit 38d0cfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/pmy.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export PMY_DELIMITER=':::'
66
pmy-widget() {
77
local buffer_left=${LBUFFER}
88
local buffer_right=${RBUFFER}
9-
local out=$(pmy --bufferLeft=${buffer_left} --bufferRight=${buffer_right} 2>/dev/null)
9+
local out="$(pmy --bufferLeft=${buffer_left} --bufferRight=${buffer_right} 2>/dev/null)"
1010
if [[ -z $out ]] then
1111
echo "No rule was matched"
1212
else

0 commit comments

Comments
 (0)