workstation/roles/home-cli/files/shrc

16 lines
176 B
Bash

#!/bin/bash
if [ -r "$HOME/.profile" ]
then
. "$HOME/.profile"
fi
case "$-" in
*i*)
# Shell is interactive.
usermotd
;;
*)
# Shell is not interactive.
return 1
;;
esac