diff --git a/base/.profile b/base/.profile index 87626b4..bedc6d7 100644 --- a/base/.profile +++ b/base/.profile @@ -42,8 +42,7 @@ if [ -d "${XDG_CONFIG_HOME}/profile/profile.d" ]; then done fi - -if [ "${SHELL}" = /bin/bash ] || [ "${SHELL}" = /usr/local/bin/bash ]; then +if [ "${BASH_VERSION}" != "" ] && [ "$(ps -p $$ -ocomm=)" != sh ]; then # shellcheck disable=SC1090 if [ -f "${HOME}/.bashrc" ]; then . "${HOME}/.bashrc" diff --git a/base/.zprofile b/base/.zprofile new file mode 100644 index 0000000..70bd631 --- /dev/null +++ b/base/.zprofile @@ -0,0 +1 @@ +source $HOME/.profile