mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-10-02 16:03:47 +02:00
fix(copybuffer): prevent which alias usage (#12379)
This commit is contained in:
1 parent
5d2d35cd17
commit
803e1a784c
1 file changed
+1
-1
@@ -2,7 +2,7 @@
|
||||
# onto the system clipboard
|
||||
|
||||
copybuffer () {
|
||||
if which clipcopy &>/dev/null; then
|
||||
if builtin which clipcopy &>/dev/null; then
|
||||
printf "%s" "$BUFFER" | clipcopy
|
||||
else
|
||||
zle -M "clipcopy not found. Please make sure you have Oh My Zsh installed correctly."
|
||||
|
||||
Reference in new issue
Block a user