diff --git a/.bashrc b/.bashrc index 528d9f8..ef0249f 100644 --- a/.bashrc +++ b/.bashrc @@ -6,6 +6,9 @@ case $- in *) return;; esac +# Set shell envvar +export SHELL=$(which bash) + # don't put duplicate lines or lines starting with space in the history. HISTCONTROL=ignoreboth diff --git a/.profile b/.profile index ce12f4d..16e0ab2 100644 --- a/.profile +++ b/.profile @@ -37,8 +37,3 @@ if [ $(which nvim) ]; then export EDITOR=nvim fi -# Set zsh as the default shell if available -if [ $(which zsh) ]; then - export SHELL=$(which zsh) -fi -