作个记录,在solaris里的习惯设置
PATH=/usr/local/lib:/usr/ucb:/usr/sfw/bin:/usr/local/sbin:/usr/local/bin:/usr/ccs/bin:/usr/sbin:/sbin:/bin:/usr/local/mysql/bin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/usb:.
export PS1="\033[1m\u\033[0m\]@\[\033[1m\][\w]\[\033[0m\]"
#!/usr/bin/bash
export TERM=xterm-color
export PATH=/usr/local/bin:$PATH:/usr/ccs/bin:/usr/ucb
export MANPATH=/usr/local/man:$MANPATH:/usr/man:/opt/man
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH:/usr/lib
export PS1='^[[0;32;40m[\u@\h \w]\$ ^[[0;37;40m'
export EDITOR=/usr/local/bin/vim
export PAGER=/usr/bin/less
export CC=gcc
export TMPDIR=/tmp
stty erase ^H
alias ls='/usr/local/bin/ls --color=auto --show-control-chars'
alias vi='/usr/local/bin/vim'
alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias ll='ls -l --color=auto --show-control-chars'
alias l.='ls -d .* --color=auto --show-control-chars'
alias make='/usr/local/bin/make'
alias tar='/usr/local/bin/tar'
alias unzip='/usr/bin/gunzip'
alias sed='/usr/local/bin/sed'
alias awk='/usr/local/bin/gawk'
阅读(1531) | 评论(0) | 转发(0) |