1
0
Fork 0
mirror of https://github.com/MillironX/dotfiles.git synced 2024-11-14 10:53:09 +00:00

Remove switching to zsh

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2022-03-23 17:24:11 -05:00
parent aae9718f59
commit 03075ed502
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -1,17 +1,6 @@
# shellcheck shell=bash
# .bashrc
# shellcheck disable=1054,1073,1050,1072,1009
{{ if (eq .chezmoi.osRelease.id "centos") }}
{{ if (eq .chezmoi.osRelease.versionID "7") }}
# Switch to zsh if interactive, and we haven't been told not to
if [[ ($- == *i*) && ($SSH_TTY) && (-z $NO_ZSH) ]]; then
export SHELL=$(command -v zsh)
exec $SHELL -l
fi
{{ end }}
{{ end }}
if [ -f "$HOME/.modules" ]; then
source $HOME/.modules
fi