9d5844ce66
console
26 lines
540 B
Plaintext
26 lines
540 B
Plaintext
#
|
|
# /etc/kshrc is sourced in interactive shells. It
|
|
# should contain commands to set up aliases, functions,
|
|
# options, key bindings, etc.
|
|
#
|
|
|
|
# Set prompts
|
|
#PROMPT='[%n@%m]%~%# ' # default prompt
|
|
#RPROMPT=' %~' # prompt for right side of screen
|
|
|
|
_src_etc_profile_d()
|
|
{
|
|
# from zshrc, with ksh fixes
|
|
if [[ ! -o login ]]; then # We're not a login shell
|
|
for i in /etc/profile.d/*.sh; do
|
|
if [ -r "$i" ]; then
|
|
. $i
|
|
fi
|
|
done
|
|
unset i
|
|
fi
|
|
}
|
|
_src_etc_profile_d
|
|
|
|
unset -f _src_etc_profile_d
|