diff options
author | Marc Cornellà <hello@mcornella.com> | 2021-07-12 17:34:34 +0200 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2021-07-12 17:34:34 +0200 |
commit | e4f6f1698d4bf2cebe3fd0e2f5bae9f163780a50 (patch) | |
tree | c2f4859d4afc0faa97c5fd7e593aaa2229b2f64f /plugins/copybuffer | |
parent | 5b4e3ee7f1c48505a3ec56ce38e444b88feda7a4 (diff) | |
download | zsh-e4f6f1698d4bf2cebe3fd0e2f5bae9f163780a50.tar.gz zsh-e4f6f1698d4bf2cebe3fd0e2f5bae9f163780a50.tar.bz2 zsh-e4f6f1698d4bf2cebe3fd0e2f5bae9f163780a50.zip |
fix(copybuffer): show error below the command line
Diffstat (limited to 'plugins/copybuffer')
-rw-r--r-- | plugins/copybuffer/copybuffer.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/copybuffer/copybuffer.plugin.zsh b/plugins/copybuffer/copybuffer.plugin.zsh index 483ed5a5f..87a658d93 100644 --- a/plugins/copybuffer/copybuffer.plugin.zsh +++ b/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 } |