aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2014-11-22 23:30:11 +1300
committerTom Ryder <tom@sanctum.geek.nz>2014-11-22 23:30:11 +1300
commit501dc9df5c164441780de0188e7cb4235a7a86f5 (patch)
tree1dfba691e0889120294a7f1017e16ca519720fda /bash/bashrc
parentSpaces status-{left,right} due to tmux change (diff)
downloaddotfiles-501dc9df5c164441780de0188e7cb4235a7a86f5.tar.gz
dotfiles-501dc9df5c164441780de0188e7cb4235a7a86f5.zip
Turn off write(1) access
Diffstat (limited to 'bash/bashrc')
-rw-r--r--bash/bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 2caa80c5..a56632e7 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -29,6 +29,9 @@ setterm -bfreq -blength 2>/dev/null
# Turn off flow control and control character echo
stty -ixon -ctlecho 2>/dev/null
+# Don't let anyone write(1) to my terminal
+mesg n
+
# Autocorrect fudged paths in cd calls
shopt -s cdspell
# Update the hash table properly