Advertisement
cirrus

# ~/.bashrc

Sep 23rd, 2012
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. #
  2. # ~/.bashrc
  3. #
  4. command cowthink -f tux $(fortune all)
  5. #command cowthink $(fortune all)
  6. # If not running interactively, don't do anything
  7. [[ $- != *i* ]] && return
  8.  
  9.  
  10. alias ls='ls --color=auto'
  11. #PS1='[\u@\h \W]\$ '
  12. PS1="$sq_color\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[01;36m\]\342\234\227$sq_color]\342\224\200\")[\[\033[01;31m\]\t$sq_color]\342\224\200[\[\033[01;36m\]\u@\h$sq_color]\n\342\224\224\342\224\200\342\224\200> \[\033[01;35m\]\W$sq_color $ \[\033[01;32m\]>>\\[\\033[0m\\] "
  13.  
  14. if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
  15. . startx
  16. logout
  17. fi
  18. #shell profile file
  19. setxkbmap -layout gb
  20. -----------------------------------------------------------------------------------------
  21.  
  22. #
  23. # ~/.bashrc
  24. #
  25. cat /etc/motd
  26. command cowsay -f tux $(fortune all)
  27. # If not running interactively, don't do anything
  28. [[ $- != *i* ]] && return
  29. alias ls='ls --color=auto'
  30. PS1="$sq_color\342\224\214\342\224\200\$([[ \$? != 0 ]] && echo \"[\[\033[01;36m\]\342\234\227$sq_color]\342\224\200\")[\[\033[01;31m\]\t$sq_color]\342\224\200[\[\033[01;36m\]\u@\h$sq_color]\n\342\224\224\342\224\200\342\224\200> \[\033[01;35m\]\W$sq_color $ \[\033[01;32m\]>>\\[\\033[0m\\] "
  31. #PS1='[\u@\h \W]\$ '
  32. #PS1='\[\e[0;31m\]\u\[\e[m\] \[\e[1;31m\]\w\[\e[m\] \[\e[0;31m\]\$ \[\e[m\]\[\e[0;36m\] '
  33. #PS1='\[\e[1;31m\][\u@\h \W]\$\[\e[1;36m\] '
  34. if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
  35. . startx
  36. logout
  37. fi
  38. #shell profile file
  39. setxkbmap -layout gb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement