diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..aba1649 --- /dev/null +++ b/.bash_profile @@ -0,0 +1,11 @@ +# 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 \ No newline at end of file