Unverified Commit 368198b7 authored by Chai Feng's avatar Chai Feng Committed by GitHub
Browse files

Fix an issue with escape characters (#7979)


Co-authored-by: default avatarFrancisco de Zuviría <FranciscodeZuviria@fusap.com.ar>
parent 2c0315db
# copy the active line from the command line buffer # copy the active line from the command line buffer
# onto the system clipboard (requires clipcopy plugin) # onto the system clipboard
copybuffer () { copybuffer () {
if which clipcopy &>/dev/null; then if which clipcopy &>/dev/null; then
echo $BUFFER | clipcopy printf "%s" "$BUFFER" | clipcopy
else else
echo "clipcopy function not found. Please make sure you have Oh My Zsh installed correctly." echo "clipcopy function not found. Please make sure you have Oh My Zsh installed correctly."
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment