OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../sysfiles/etc_conf_profile.txt
  5. # Copyright (C) 1998 - 2003 Clifford Wolf
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This program is free software; you can redistribute it and/or modify
  10. # it under the terms of the GNU General Public License as published by
  11. # the Free Software Foundation; version 2 of the License. A copy of the
  12. # GNU General Public License can be found in the file COPYING.
  13. # --- SDE-COPYRIGHT-NOTE-END ---
  14. #
  15. # This file is included from /etc/profile and should be used for additions
  16. # to /etc/profile instead of editing it.
  17. #
  18. # set -o vi +o posix
  19. # export EDITOR="nvi"
  20. # export PAGER="less -R -F -M"
  21. if [ "$PS1" ] ; then
  22. alias cp='cp -i'
  23. alias mv='mv -i'
  24. alias rm='rm -i'
  25. case "$TERM" in *xterm*)
  26. [ "$TERM" = "xterm" ] && TERM="nxterm"
  27. set_xterm_title() { echo -ne "\033]0;$*\007" ; } ;;
  28. esac
  29. # if bash is not in POSIX mode, set a more inteligent prompt
  30. #
  31. # [ "$BASH_VERSION" -a -z "$POSIXLY_CORRECT" ] &&
  32. # PS1='\u@\h:$([ ${#PWD} -lt 30 ] && \
  33. # builtin echo "\w" || builtin echo "[\W]" ; echo )\$ '
  34. alias beep='echo -en \\007'
  35. fi