This commit is contained in:
蒋国宝 2016-05-16 10:54:48 +08:00
parent baac4a86c3
commit a2c2e631a4
2 changed files with 20 additions and 8 deletions

View File

@ -6,25 +6,28 @@ set softtabstop=4
syntax enable
syntax on
set cursorline
if &term=="xterm"
set t_Co=8
set t_Sb=^[[4%dm
set t_Sf=^[[3%dm
set t_Co=8
set t_Sb=^[[4%dm
set t_Sf=^[[3%dm
endif
"indent based on file type
filetype indent plugin on
filetype on
set autoindent
set smartindent
set ruler
"show command in bottom
set showcmd
set shiftwidth=4
set hlsearch
set encoding=utf-8
set fileencodings=ucs-bom,utf-8,cp936
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8

View File

@ -17,3 +17,12 @@ grep -r "Redis" .
# 查找文件
sudo find / -name erl_crash.dump
# 创建用户
useradd -m USERNAME
passwd USERNAME
# change zsh
chsh -s $(which zsh)
# You may not change the shell for 'popkit'
sudo usermod -s /bin/zsh popkit