Update dotfiles/.profile

This commit is contained in:
Brian Zalewski 2022-10-31 12:54:14 +00:00
parent fba9aa3061
commit d6272a8419

View file

@ -37,6 +37,8 @@ if [ -f "$HOME/.local/functions" ]; then
fi fi
### Bash / ZSH ### Bash / ZSH
echo "$0"
echo "$SHELL"
if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ] || [ "$SHELL" = '/bin/bash' ] || [ "$0" = 'zsh' ] || [ "$0" = '/bin/zsh' ] || [ "$SHELL" = '/bin/zsh' ]; then if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ] || [ "$SHELL" = '/bin/bash' ] || [ "$0" = 'zsh' ] || [ "$0" = '/bin/zsh' ] || [ "$SHELL" = '/bin/zsh' ]; then
### OS Detection ### OS Detection
if [ -f /etc/os-release ]; then if [ -f /etc/os-release ]; then