mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
Fix an issue with escape characters (#7979)
Co-authored-by: Francisco de Zuviría <FranciscodeZuviria@fusap.com.ar>
This commit is contained in:
parent
2c0315dba4
commit
368198b761
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue