Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. #
  2. # Simple profile places /usr/bin at front, followed by /usr/sbin.
  3. #
  4. # Use less(1) or more(1) as the default pager for the man(1) command.
  5. #
  6. export PATH=/usr/xpg4/bin:/usr/bin:/usr/sbin
  7.  
  8. if [ -f /usr/bin/less ]; then
  9. export PAGER="/usr/bin/less -ins"
  10. elif [ -f /usr/bin/more ]; then
  11. export PAGER="/usr/bin/more -s"
  12. fi
  13.  
  14. #
  15. # Define default prompt to <username>@<hostname>:<path><"($|#) ">
  16. # and print '#' for user "root" and '$' for normal users.
  17. #
  18. # Currently this is only done for bash/pfbash(1).
  19. #
  20.  
  21. case ${SHELL} in
  22. *bash)
  23. typeset +x PS1="\u@\h:\w\\$ "
  24. export PATH=$PATH":$HOME/bin"
  25. ;;
  26. esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement