Skip to content

Commit

Permalink
一些修改
Browse files Browse the repository at this point in the history
  • Loading branch information
lijianhua committed Mar 17, 2017
1 parent 3779894 commit e950788
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Install [rcm](https://github.com/thoughtbot/rcm):

brew tap thoughtbot/formulae
brew install rcm
rcup -d dotfiles -x README.md -x LICENSE -x Brewfile

Install the dotfiles:

Expand Down
1 change: 1 addition & 0 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ set showcmd " display incomplete commands
set incsearch " do incremental searching
set laststatus=2 " Always display the status line
set autowrite " Automatically :write before running commands
set ignorecase "搜索忽略大小写

" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
Expand Down
8 changes: 8 additions & 0 deletions vimrc.bundles
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ Plugin 'gmarik/Vundle.vim'

" Define bundles via Github repos
Plugin 'christoomey/vim-run-interactive'
" github 配色支持
Plugin 'croaky/vim-colors-github'
" coffee 配色支持
Plugin 'kchmck/vim-coffee-script'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'pbrisbin/vim-mkdir'
Expand All @@ -29,11 +31,17 @@ Plugin 'vim-ruby/vim-ruby'
Plugin 'vim-scripts/ctags.vim'
Plugin 'vim-scripts/matchit.zip'
Plugin 'vim-scripts/tComment'
" vim 配色
Plugin 'dracula/vim'
" 文件列表
Plugin 'scrooloose/nerdtree'
" 方法列表
Plugin 'majutsushi/tagbar'
" 逻辑补全
Plugin 'drmingdrmer/xptemplate'
" 代码补全
Plugin 'jiangmiao/auto-pairs'
" 头尾导航
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'

Expand Down
9 changes: 6 additions & 3 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ZSH_THEME="cloud"
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
plugins=(git web-search encode64)

# User configuration

Expand Down Expand Up @@ -86,7 +86,10 @@ source $ZSH/oh-my-zsh.sh
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias laravel='~/.composer/vendor/bin/laravel'
. `brew --prefix`/etc/profile.d/z.sh
export PATH="$(brew --prefix homebrew/php/php56)/bin:$PATH"
export PATH="$PATH":/usr/local/mysql/bin
export PATH="$(brew --prefix homebrew/php/php70)/bin:$PATH"
export PATH=${PATH}:/usr/local/mysql/bin
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
alias cat=ccat
alias php-fpm.start="launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php70.plist"
alias php-fpm.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php70.plist"
alias php-fpm.restart='php-fpm.stop && php-fpm.start'

0 comments on commit e950788

Please sign in to comment.