Print this page
NEX-1998 default path is still not quite right
NEX-1100 we still have /usr/gnu/bin in our path
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/cmd/nsadmin/dot-profile.sh
+++ new/usr/src/cmd/nsadmin/dot-profile.sh
1 1 #
2 +# Want XPG6 commands. See standards(5).
3 +# Use less(1) as the default pager for the man(1) command.
4 +#
5 +export PATH=/usr/xpg6/bin:/usr/xpg4/bin:/usr/bin:/usr/sbin:/sbin
6 +export PAGER="/usr/bin/less -ins"
7 +
2 8 # Uncommenting PATH below will place /usr/gnu/bin at front,
3 9 # adds /usr/sbin and /sbin to the end.
4 10 #
5 11 # export PATH=/usr/gnu/bin:/usr/bin:/usr/sbin:/sbin
6 12 #
7 13 # Define default prompt to <username>@<hostname>:<path><"($|#) ">
8 14 # and print '#' for user "root" and '$' for normal users.
9 15 #
10 16 # override default prompt for bash
11 17 # case "$0" in
12 18 # -bash)
13 19 # export PS1="\u@\h:\w\\$ "
14 20 # esac
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX