From 09db4add05d37e7753c3d7254e91dc919965b17f Mon Sep 17 00:00:00 2001 From: BarbUk Date: Sat, 27 May 2017 01:08:35 +0400 Subject: [PATCH] update bash-it --- snippy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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