xref: /illumos-gate/usr/src/cmd/nsadmin/dot-profile.sh (revision 719d176126cc1c689a469d4c3553d770d1c4e94e)
1ead1f93eSLiane Praza#
2*719d1761SToomas Soome# Uncommenting PATH below will place /usr/gnu/bin at front,
3*719d1761SToomas Soome# adds /usr/sbin and /sbin to the end.
4ead1f93eSLiane Praza#
5*719d1761SToomas Soome# export PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin
6ead1f93eSLiane Praza#
7ead1f93eSLiane Praza# Define default prompt to <username>@<hostname>:<path><"($|#) ">
8ead1f93eSLiane Praza# and print '#' for user "root" and '$' for normal users.
9ead1f93eSLiane Praza#
10*719d1761SToomas Soome# override default prompt for bash
11*719d1761SToomas Soome# case "$0" in
12*719d1761SToomas Soome# -bash)
13*719d1761SToomas Soome#	export PS1="\u@\h:\w\\$ "
14*719d1761SToomas Soome# esac
15