fix(copyfile): stop on clipboard failure (#14154)

This commit is contained in:
Minh Vu authored and GitHub committed 2026-10-09 07:03:29 -07:00
1 parent d7aca552b3
commit 2d833b453d
2 files changed
+75 -1

No files matched your search

+1 -1
View File
@@ -14,6 +14,6 @@ function copyfile {
return 1
fi
clipcopy $1
clipcopy $1 || return 1
echo ${(%):-"%B$1%b copied to clipboard."}
}