[tmux] Ctrl-dでexitするのをやめる
環境
$ bash --version bash --version GNU bash, バージョン 4.4.23(1)-release (x86_64-apple-darwin17.5.0) Copyright (C) 2016 Free Software Foundation, Inc. ライセンス GPLv3+: GNU GPL バージョン 3 またはそれ以降 <http://gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. $ tmux -V tmux -V tmux 2.7
やったこと
.bashrcでignoreeof
を設定
set -o ignoreeof
.tmux.confでデタッチをunbind
unbind -T root C-d