2022-09-16 07:46:13 +00:00
|
|
|
#!/bin/sh
|
2022-09-16 07:42:02 +00:00
|
|
|
if [ -r "$HOME/.profile" ]
|
|
|
|
then
|
2022-11-28 22:45:54 +00:00
|
|
|
. "$HOME/.profile"
|
2022-09-16 07:42:02 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
case "$-" in
|
|
|
|
*i*)
|
2022-11-28 22:45:54 +00:00
|
|
|
# Shell is interactive.
|
|
|
|
if [ -r /etc/profile.d/bash_completion.sh ]
|
|
|
|
then
|
|
|
|
. /etc/profile.d/bash_completion.sh
|
|
|
|
fi
|
2023-08-26 14:37:39 +00:00
|
|
|
set -o emacs
|
2022-11-28 22:45:54 +00:00
|
|
|
usermotd
|
|
|
|
;;
|
2022-09-16 07:42:02 +00:00
|
|
|
*)
|
2022-11-28 22:45:54 +00:00
|
|
|
# Shell is not interactive.
|
|
|
|
return 1
|
|
|
|
;;
|
2022-09-16 07:42:02 +00:00
|
|
|
esac
|