diff options
-rw-r--r-- | .vimrc | 4 | ||||
-rw-r--r-- | .zshrc | 16 | ||||
-rw-r--r-- | install.sh | 18 |
3 files changed, 19 insertions, 19 deletions
@@ -59,7 +59,6 @@ call plug#begin('~/.vim/plugged') Plug 'Valloric/YouCompleteMe', {'do': 'python3 ./install.py --clang-completer'} Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' -Plug 'flazz/vim-colorschemes' Plug 'junegunn/fzf', {'dir': '~/.fzf', 'do': './install --all'} Plug 'junegunn/fzf.vim' Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'} @@ -70,8 +69,7 @@ Plug 'skywind3000/asyncrun.vim' call plug#end() " Plugin config -colorscheme molokai -let g:airline='molokai' +" let g:airline='molokai' let g:airline#extensions#tabline#enabled = 1 map <C-n> :NERDTreeToggle<CR> " YouCompleteMe @@ -10,13 +10,6 @@ HISTFILE=~/.zsh_history export EDITOR=/usr/bin/vim -# autojump -if [ ! -d /usr/share/autojump ]; then - echo 'Installing autojump ... ' - sudo apt install autojump -fi -. /usr/share/autojump/autojump.zsh - # zplug if [ ! -d ~/.zplug ]; then echo 'Installing zplug ... ' @@ -35,8 +28,13 @@ if ! zplug check --verbose; then fi zplug load -# fzf +# file [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh +[[ -s /usr/share/autojump/autojump.zsh ]] && . /usr/share/autojump/autojump.zsh + +# proxy +export http_proxy=http://127.0.0.1:1080 +export https_proxy=http://127.0.0.1:1080 # alias if grep -q Microsoft /proc/version; then @@ -44,3 +42,5 @@ if grep -q Microsoft /proc/version; then alias expl='explorer.exe' fi +# Rust +[ -d "$HOME/.cargo/bin" ] && export PATH="$HOME/.cargo/bin:$PATH" @@ -29,16 +29,18 @@ base_install() { autojump \ zsh \ gcc \ - make - fi + make \ + pkg-config autoconf automake \ + python3-docutils \ + libseccomp-dev \ + libjansson-dev \ + libyaml-dev \ + libxml2-dev + else if command -v pacman > /dev/null; then + pacman -S autojump + fi # Universal Ctags - apt install pkg-config autoconf automake \ - python3-docutils \ - libseccomp-dev \ - libjansson-dev \ - libyaml-dev \ - libxml2-dev git clone [email protected]:universal-ctags/ctags.git ( cd ctags |