unixwz0r

.bashrc for cdm

Jan 19th, 2015
356
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. # To avoid potential situation where cdm(1) crashes on every TTY, here we
  2. # default to execute cdm(1) on tty1 only, and leave other TTYs untouched.
  3. if [[ "$(tty)" == '/dev/tty1' ]]; then
  4. [[ -n "$CDM_SPAWN" ]] && return
  5. # Avoid executing cdm(1) when X11 has already been started.
  6. [[ -z "$DISPLAY$SSH_TTY$(pgrep xinit)" ]] && exec cdm
  7. fi
  8. #toilet -F border -w 500x500 Tux Hat Linux 2.3
  9. echo ""
  10. archey3 -c yellow
  11. echo ""
  12. export LANG="en_US.UTF-8"
  13. export LC_ALL="en_US.UTF-8"
  14. export LC_CTYPE="en_US.UTF-8"
  15. export LC_COLLATE="en_US.UTF-8"
  16. export LC_MESSAGES="en_US.UTF-8"
  17. export PS1="\[\e[00;00m\]└────╼\[\e[00;00m\]"
Advertisement
Add Comment
Please, Sign In to add comment