aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh')
-rw-r--r--sh/shrc4
1 files changed, 2 insertions, 2 deletions
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