fix(copybuffer): show error below the command line

master
Marc Cornellà 5 years ago
parent 5b4e3ee7f1
commit e4f6f1698d
No known key found for this signature in database
GPG Key ID: 314585E776A9C1B
  1. 2
      plugins/copybuffer/copybuffer.plugin.zsh

@ -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
}

Loading…
Cancel
Save