fix(copybuffer): show error below the command line
Diff
1diff --git a/plugins/copybuffer/copybuffer.plugin.zsh b/plugins/copybuffer/copybuffer.plugin.zsh
2index 483ed5a5fe59e070dd88e378f2813583caadc536..87a658d93582446ef5c889d4819973fbb39e7dc2 100644
3--- a/plugins/copybuffer/copybuffer.plugin.zsh
4+++ b/plugins/copybuffer/copybuffer.plugin.zsh
5@@ -5,7 +5,7 @@ copybuffer () {
6 if which clipcopy &>/dev/null; then
7 printf "%s" "$BUFFER" | clipcopy
8 else
9- echo "clipcopy function not found. Please make sure you have Oh My Zsh installed correctly."
10+ zle -M "clipcopy not found. Please make sure you have Oh My Zsh installed correctly."
11 fi
12 }
13