###[.bashrc]############################################ cl_red='\[\033[0;31m\]' cl_RED='\[\033[1;31m\]' cl_green='\[\033[0;32m\]' cl_GREEN='\[\033[1;32m\]' cl_yellow='\[\033[0;33m\]' cl_YELLOW='\[\033[1;33m\]' cl_blue='\[\033[0;34m\]' cl_BLUE='\[\033[1;34m\]' cl_purple='\[\033[0;35m\]' cl_PURPLE='\[\033[1;35m\]' cl_cyan='\[\033[0;36m\]' cl_CYAN='\[\033[1;36m\]' cl_black='\[\033[0;30m\]' cl_DKGREY='\[\033[1;30m\]' cl_ltgrey='\[\033[0;37m\]' cl_WHITE='\[\033[1;37m\]' cl_NC='\[\033[0m\]' export PS1="\n${cl_green}[\u@\h] ${cl_yellow}\w${cl_NC}\n"'\$ ' if [ $UID = 0 ] then export PS1="\n${cl_red}[\u@\h] ${cl_yellow}\w${cl_NC}\n"'\$ ' fi eval `dircolors -b` alias DU="du -ah --max-depth=1" alias HH="sudo /sbin/shutdown -h now" alias HR="sudo /sbin/shutdown -r now" alias LL="ls -alFh --color --group-directories-first" alias MNT="mount | column -t" alias PS="ps -auxf" export PAGER="most" ###############################################
2009-11-27
обновил
Комментариев нет:
Отправить комментарий