Fix an issue with escape characters (#7979)

Co-authored-by: Francisco de Zuviría <FranciscodeZuviria@fusap.com.ar>
master
Chai Feng 6 years ago committed by GitHub
parent 2c0315dba4
commit 368198b761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      plugins/copybuffer/copybuffer.plugin.zsh

@ -1,9 +1,9 @@
# copy the active line from the command line buffer
# onto the system clipboard (requires clipcopy plugin)
# onto the system clipboard
copybuffer () {
if which clipcopy &>/dev/null; then
echo $BUFFER | clipcopy
printf "%s" "$BUFFER" | clipcopy
else
echo "clipcopy function not found. Please make sure you have Oh My Zsh installed correctly."
fi

Loading…
Cancel
Save