1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-11 00:10:08 +00:00

fix(copybuffer): show error below the command line

This commit is contained in:
Marc Cornellà 2021-07-12 17:34:34 +02:00
parent 5b4e3ee7f1
commit e4f6f1698d
No known key found for this signature in database
GPG key ID: 0314585E776A9C1B

View file

@ -5,7 +5,7 @@ copybuffer () {
if which clipcopy &>/dev/null; then
printf "%s" "$BUFFER" | clipcopy
else
echo "clipcopy function not found. Please make sure you have Oh My Zsh installed correctly."
zle -M "clipcopy not found. Please make sure you have Oh My Zsh installed correctly."
fi
}