我的常用环境变量设置


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

 

 

 

 

转载于:https://www.cnblogs.com/goooogs/p/3849860.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值