summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2017-04-27 21:21:50 +0200
committerjohannst <stoelp@eit.uni-kl.de>2017-04-27 21:21:50 +0200
commit1332a7dcb40dbd6b49af084dcd91639ffc846b16 (patch)
tree6eb86902c3c8dfbfaa3f36305336028c2ebd9491 /bashrc
parentc4bfb14842799a07a3fb391ee8a654e1c340228e (diff)
downloaddotfiles-1332a7dcb40dbd6b49af084dcd91639ffc846b16.tar.gz
dotfiles-1332a7dcb40dbd6b49af084dcd91639ffc846b16.zip
disable ctrl-d logoff in bash
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 294ef9e..49432de 100644
--- a/bashrc
+++ b/bashrc
@@ -9,6 +9,9 @@ if [ "$TERM" == "xterm" ]; then export TERM=xterm-256color; fi
# disable sticky mode
stty -ixon
+# disable ctrl-d logoff
+set -o ignoreeof on
+
#}}}
#{{{ vi mode