fix escaping of &
This commit is contained in:
parent
1143b5b164
commit
2d2d4b47ad
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ fzf -params .. %{ evaluate-commands %sh{
|
|||
*) item=${line} ;;
|
||||
esac
|
||||
if [ -n "${item}" ]; then
|
||||
item=$(printf "%s\n" "${item}" | sed "s/@/@@/g")
|
||||
item=$(printf "%s\n" "${item}" | sed "s/@/@@/g;s/&/&&/g")
|
||||
printf "%s\n" "evaluate-commands -client ${kak_client} ${wincmd} %&${kakoune_cmd} %@${item}@&"
|
||||
break
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue