From 7672e264871e6cb796c0e00df7514793f71ce263 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 15 Jan 2017 21:08:40 +1300 Subject: Block stderr from tabs call Also prefix with `command -p` --- sh/shrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sh/shrc') diff --git a/sh/shrc b/sh/shrc index c71ba900..11202cd4 100644 --- a/sh/shrc +++ b/sh/shrc @@ -15,8 +15,8 @@ unset -v MAILCHECK # Set terminal tab size to 4 rather than 8 # (Bash and Vim do their own thing) -stty tab0 -tabs 4 >/dev/null +command -p stty tab0 +command -p tabs 4 >/dev/null 2>&1 # Load all the POSIX-compatible functions from ~/.shrc.d; more advanced shells # like bash will have their own functions -- cgit v1.2.3