]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Zsh doesn't quit when <C-d> is pressed.
authorSimon Ruderich <simon@ruderich.org>
Sun, 21 Sep 2008 17:11:40 +0000 (19:11 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 16 Feb 2009 15:34:39 +0000 (16:34 +0100)
zsh/rc

diff --git a/zsh/rc b/zsh/rc
index 76d0b29830b67ff65a72f58302025d5417a340d0..6fd54ee56f040ed7a14e537a7ed82087734ac296 100644 (file)
--- a/zsh/rc
+++ b/zsh/rc
@@ -73,6 +73,9 @@ zstyle ':completion:*' list-prompt '%p'
 # Enable zsh's extended glob abilities.
 setopt extendedglob
 
+# Don't exit if <C-d> is pressed.
+setopt ignoreeof
+
 # If ^C is pressed while typing a command, add it to the history so it can be
 # easily retrieved later and then abort like ^C normally does. This is useful
 # when I want to abort an command to do something in between and then finish