From 21ff74838d51a9b6873e319a25469e3ce2c8d199 Mon Sep 17 00:00:00 2001 From: Daniel Napora Date: Tue, 27 Apr 2021 17:42:34 +0200 Subject: [PATCH] espanso-pipe special chars fix --- usr/bin/jgespanso-pipe | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr/bin/jgespanso-pipe b/usr/bin/jgespanso-pipe index 04346ed..4ff7fc7 100755 --- a/usr/bin/jgespanso-pipe +++ b/usr/bin/jgespanso-pipe @@ -40,7 +40,7 @@ echo "^sep(Espanso - text expander)" >>/tmp/espanso_list.csv while read -r line ; do IFS='-' read -r id string <<< "$line" - printf "\"\"\"%-12s %s\"\"\",espanso match exec %s\n" $id "$string" $id >> $MENU_ITEMS + printf "\"\"\"%-12s %s\"\"\",espanso match exec %s\n" $id "${string//> $MENU_ITEMS done < <(espanso match list) echo "^sep($CONFIGURE)" >>/tmp/espanso_list.csv echo "$EDITCONF, geany ~/.config/espanso/default.yml" >>/tmp/espanso_list.csv @@ -52,7 +52,6 @@ fi - ### RUN if [ $1 == "-s" ]; then . /usr/bin/pipemenu-standalone.cfg