Files
workprofile/.bash_profile
2026-03-10 15:24:32 -06:00

11 lines
335 B
Bash

# Check if zsh is installed
if command -v zsh > /dev/null 2>&1; then
# If zsh exists, replace the current bash shell with zsh
# The '-l' flag ensures zsh runs as a login shell
exec zsh -l
else
# If zsh is NOT found, load the standard bashrc configuration
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
fi