commit f6684442ecf04b085af09941e4fbc650862cc3a2 parent d11e48f08f7a58ebf652d7607b80c3f79bb851d9 Author: Robert Russell <robert@rr3.xyz> Date: Sun, 26 Jul 2026 21:37:15 -0700 Simplify redirects Diffstat:
| M | shell/.config/shinit.d/10-util.sh | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/shell/.config/shinit.d/10-util.sh b/shell/.config/shinit.d/10-util.sh @@ -1,6 +1,6 @@ have() { if [ $# -ne 1 ]; then - echo "Usage: have COMMAND" 1>&2 + echo "Usage: have COMMAND" >&2 return 1 fi @@ -27,7 +27,7 @@ prepend_path() { is_interactive() { if [ $# -ne 0 ]; then - echo "Usage: is_interactive" 1>&2 + echo "Usage: is_interactive" >&2 return 1 fi