diff --git a/snippy b/snippy index d49d302..94715cf 100755 --- a/snippy +++ b/snippy @@ -92,7 +92,7 @@ run(){ cursor=0 # replace {clipboard} by the cliboard comtent - sed -i -e "s/{clipboard}/$current_clip/g" "$TMPFILE" + sed -i -e "s_{clipboard}_${current_clip}_g" "$TMPFILE" # Check if there is a {cursor} placeholder if grep -qF '{cursor}' "$TMPFILE";then