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

This commit is contained in:
Minh Vu
2026-10-09 07:03:29 -07:00
committed by GitHub
parent d7aca552b3
commit 2d833b453d
2 changed files with 75 additions and 1 deletions
+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."}
}