workstation/roles/home-cli/files/bash_profile

20 lines
231 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
if [ -r "$HOME/.profile" ]
2021-02-20 22:59:54 +00:00
then
. "$HOME/.profile"
fi
2022-09-16 07:52:01 +00:00
case "$-" in
*i*)
# Shell is interactive.
if [ -r "$HOME/.bashrc" ]
then
. "$HOME/.bashrc"
fi
;;
*)
# Shell is not interactive.
return 1
;;
esac