diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/.profile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/public/.profile b/public/.profile index 956694c..0f2670d 100644 --- a/public/.profile +++ b/public/.profile @@ -6,7 +6,5 @@ # for ssh logins, install and configure the libpam-umask package. #umask 022 -# if bash -if [ "$SHELL" = "/bin/bash" ]; then - . ~/.bashrc -fi +# if running bash +[ -n "$BASH_VERSION" ] && [ -f "$HOME/.bashrc" ] && source "$HOME/.bashrc" |
