aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-15 21:08:40 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-15 21:08:40 +1300
commit7672e264871e6cb796c0e00df7514793f71ce263 (patch)
tree0968512f70a56faf5c53084c05f97abac1f569a1 /sh/shrc
parentBlock output from tabs(1) (diff)
downloaddotfiles-7672e264871e6cb796c0e00df7514793f71ce263.tar.gz
dotfiles-7672e264871e6cb796c0e00df7514793f71ce263.zip
Block stderr from tabs call
Also prefix with `command -p`
Diffstat (limited to 'sh/shrc')
-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