vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 666e828ce26dd3da23503d03290ea21ccb24ba86 parent bac05e9f94155b5dcb2cd0406f13cfa795e94a8d Author: Randy Palamar <randy@rnpnr.xyz> Date: Thu, 2 Jan 2025 19:57:21 -0700 vis-clipboard: redirect wl-copy stderr so that it actually exits closes: #1223 see also: #929 Diffstat:
| M | vis-clipboard | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vis-clipboard b/vis-clipboard @@ -86,9 +86,9 @@ vc_paste() { vc_wlclipboard_copy() { if [ "$sel" = "primary" ]; then - wl-copy --primary -t TEXT + wl-copy --primary -t TEXT 2>/dev/null else - wl-copy -t TEXT + wl-copy -t TEXT 2>/dev/null fi }