workstation/roles/home-cli/files/shrc

25 lines
369 B
Text
Raw Permalink Normal View History

2022-09-16 07:46:13 +00:00
#!/bin/sh
if [ -r "$HOME/.profile" ]
then
2022-11-28 22:45:54 +00:00
. "$HOME/.profile"
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-31 22:07:36 +00:00
if [ -z "$ZSH_VERSION" ]
then
set -o emacs
fi
2022-11-28 22:45:54 +00:00
usermotd
;;
*)
2022-11-28 22:45:54 +00:00
# Shell is not interactive.
return 1
;;
esac