bashrc: Remove bash-to-zsh workaround and stop sourcing the environment's profile

This commit is contained in:
Salt 2018-11-21 15:32:16 -06:00
parent bcd40f9a27
commit 5f7ddc3141

View File

@ -6,16 +6,6 @@
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Sometimes you can't change your shell. Sometimes you have to implement hacky
# workarounds
if [ -f ~/.bash-to-zsh ]; then
export SHELL=$(which zsh)
exec zsh
fi
# Source /etc/profile
source /etc/profile
# Source .profile
if [ -r ~/.profile ]; then
source ~/.profile