mirror of
https://github.com/MillironX/dotfiles.git
synced 2024-11-21 21:26:04 +00:00
Remove switching to zsh
Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
parent
aae9718f59
commit
03075ed502
1 changed files with 0 additions and 11 deletions
|
@ -1,17 +1,6 @@
|
||||||
# shellcheck shell=bash
|
# shellcheck shell=bash
|
||||||
# .bashrc
|
# .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
|
if [ -f "$HOME/.modules" ]; then
|
||||||
source $HOME/.modules
|
source $HOME/.modules
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue