Don't run bash as a login shell to prevent double-sourcing

This commit is contained in:
Kevin MacMartin 2018-01-08 14:11:08 -05:00
parent cd0af373d2
commit a4eaacbf75
2 changed files with 6 additions and 0 deletions

View file

@ -14,6 +14,9 @@
# PRECONFIG # PRECONFIG
# #
# set the default command to bash as a non-login shell
set -g default-command "exec bash"
#
# unbind the command prefix and set the new one to ctrl-Space # unbind the command prefix and set the new one to ctrl-Space
unbind C-b unbind C-b
set-option -g prefix C-Space set-option -g prefix C-Space

View file

@ -14,6 +14,9 @@
# PRECONFIG # PRECONFIG
# #
# set the default command to bash as a non-login shell
set -g default-command "exec bash"
#
# unbind the command prefix and set the new one to ctrl-Space # unbind the command prefix and set the new one to ctrl-Space
unbind C-b unbind C-b
set-option -g prefix C-Space set-option -g prefix C-Space