annotate unixSoft/bin/opendiff-w @ 526:852565046ed0 default tip

zsh: fidget with screen/tmux message This should speed things up very slightly by avoiding some `grep` action in the common case of no detached screens/tmuxes.
author Augie Fackler <raf@durin42.com>
date Mon, 14 Nov 2022 11:02:35 -0500
parents 26f9c18b588c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
146
9fdb82e108de I really always need opendiff-w.
Augie Fackler <durin42@gmail.com>
parents:
diff changeset
1 #!/bin/sh
260
26f9c18b588c opendiff-w: safer sanity check for opendiff
Augie Fackler <durin42@gmail.com>
parents: 197
diff changeset
2 which opendiff || exit 1
26f9c18b588c opendiff-w: safer sanity check for opendiff
Augie Fackler <durin42@gmail.com>
parents: 197
diff changeset
3 opendiff "$@" | cat