mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
fix(copybuffer): show error below the command line
This commit is contained in:
parent
5b4e3ee7f1
commit
e4f6f1698d
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ copybuffer () {
|
||||||
if which clipcopy &>/dev/null; then
|
if which clipcopy &>/dev/null; then
|
||||||
printf "%s" "$BUFFER" | clipcopy
|
printf "%s" "$BUFFER" | clipcopy
|
||||||
else
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue