mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-26 10:23:06 +01:00
fix(copyfile): stop on clipboard failure (#14154)
This commit is contained in:
1 parent
d7aca552b3
commit
2d833b453d
2 files changed
+75
-1
No files matched your search
@@ -14,6 +14,6 @@ function copyfile {
|
||||
return 1
|
||||
fi
|
||||
|
||||
clipcopy $1
|
||||
clipcopy $1 || return 1
|
||||
echo ${(%):-"%B$1%b copied to clipboard."}
|
||||
}
|
||||
Reference in new issue
Block a user