Profile
export EDITOR=vim
export HISTSIZE=1000
export HISTCONTROL=ignoredups export TIME_STYLE="+%F %T" export HISTTIMEFORMAT="%Y-%m-%d %H:%M:%S " export PS1='\n\e[1;37m[\e[m\e[1;32m\u\e[m\e[1;33m \e[m\e[1;35m\h \e[m\e[4m`pwd`\e[m\e[1;37m]\e[m\e[1;36m\e[m\n\$'
MySQL (~/.my.cnf)
prompt="\\r:\\m:\\s \\u@\\d > "
Alias
alias cp="cp -i"
alias mv="mv -i" alias rm="rm -i" alias grep="grep --color"
VIM (~/.vimrc)
set tabstop=4 set expandtab set softtabstop=4 set shiftwidth=4 set showmatch set incsearch set hlsearch set number set autoindent set noignorecase set hlsearch set ruler set showmatch set history=1000 syntax on filetype on set listchars=tab:\|\ ,trail:.,extends:>,precedes:<,eol:$ set fileencodings=utf-8,gb2312,gbk,gb18030 set termencoding=utf-8 set backspace=indent,eol,start au BufReadPost * if line("'\"") > 0|if line("'\"") <= line("$")|exe("norm '\"")|else|exe "norm $"|endif|endif
xshell配色方案
My ANSI Colors on Black.xcs
[Names] count=1 name0=My ANSI Colors on Black [My ANSI Colors on Black] text(bold)=ff00ff magenta(bold)=ff00ff text=ffffff white(bold)=ffffff green=00c000 red(bold)=ff0000 green(bold)=00ff00 black(bold)=808080 red=c00000 blue=ff8040 black=000000 blue(bold)=8080ff yellow(bold)=ffff00 cyan(bold)=00ffff yellow=c0c000 magenta=c000c0 background=000000 white=c0c0c0 cyan=00c0c0
My ANSI Colors on White.xcs
[My ANSI Colors on White]
text(bold)=000000
magenta(bold)=ff00ff
text=000000
white(bold)=ffffff
green=00c000
red(bold)=ff0000
green(bold)=00ff00
black(bold)=808080
red=c00000
blue=0000c0
black=000000
blue(bold)=0000ff
yellow(bold)=008000
cyan(bold)=0080ff
yellow=006432
magenta=c000c0
background=fffec8
white=c0c0c0
cyan=00c0c0
[Names]
count=1
name0=My ANSI Colors on White