mirror of https://github.com/einverne/dotfiles.git
Ein Verne
5 years ago
4 changed files with 22 additions and 15 deletions
@ -92,16 +92,11 @@ fi
|
||||
# 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 |
||||
pip |
||||
tmux |
||||
tmuxinator |
||||
) |
||||
|
||||
#source $ZSH/oh-my-zsh.sh |
||||
|
||||
source $HOME/antigen.zsh |
||||
# you need to git clone [email protected]:zsh-users/antigen.git to $HOME |
||||
source $HOME/antigen/antigen.zsh |
||||
|
||||
# Load the oh-my-zsh's library. |
||||
antigen use oh-my-zsh |
||||
@ -109,6 +104,7 @@ antigen use oh-my-zsh
|
||||
# Bundles from the default repo (robbyrussell's oh-my-zsh). |
||||
antigen bundle git |
||||
antigen bundle git-extras |
||||
antigen bundle mvn |
||||
antigen bundle tig |
||||
antigen bundle heroku |
||||
antigen bundle pip |
||||
@ -116,6 +112,8 @@ antigen bundle lein
|
||||
antigen bundle command-not-found |
||||
antigen bundle tmux |
||||
antigen bundle tmuxinator |
||||
antigen bundle docker |
||||
antigen bundle docker-compose |
||||
|
||||
# Syntax highlighting bundle. |
||||
antigen bundle zsh-users/zsh-syntax-highlighting |
||||
|
@ -0,0 +1,13 @@
|
||||
#!/bin/bash - |
||||
|
||||
set -o nounset # Treat unset variables as an error |
||||
|
||||
VIM_SERVER="https://raw.githubusercontent.com/wklken/vim-for-server/master/vimrc" |
||||
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" |
||||
echo "Are you sure to install vim for server" |
||||
read -n 1 is_server |
||||
if [ "$is_server" == "Y" ] || [ "$is_server" == "y" ]; then |
||||
curl $VIM_SERVER > $HOME/.vimrc |
||||
exit |
||||
fi |
||||
|
@ -7,13 +7,6 @@ chsh -s $(which zsh)
|
||||
sudo apt-get install -y exuberant-ctags |
||||
sudo apt-get install -y htop tree zip unzip wget nethogs |
||||
|
||||
VIM_SERVER="https://raw.githubusercontent.com/wklken/vim-for-server/master/vimrc" |
||||
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" |
||||
read -n 1 is_server |
||||
if [ "$is_server" == "Y" ] || [ "$is_server" == "y" ]; then |
||||
curl $VIM_SERVER > $HOME/.vimrc |
||||
exit |
||||
fi |
||||
|
||||
echo "start install, all of your old .vimrc and .vim will be overwritten." |
||||
echo "all your old vim settings will be mv to .vimrc.old & .vim.old" |
||||
@ -40,7 +33,8 @@ if [ "$use_vim_configs" == "Y" ] || [ "$use_vim_configs" == "y" ]; then
|
||||
|
||||
# link zshrc |
||||
ln -rsf $PWD/.zshrc $VIMDIR/.zshrc 2> /dev/null |
||||
curl -L git.io/antigen > $VIMDIR/antigen.zsh |
||||
#curl -L git.io/antigen > $VIMDIR/antigen.zsh |
||||
git clone [email protected]:zsh-users/antigen.git $HOME/antigen |
||||
fi |
||||
|
||||
git submodule init && git submodule update |
||||
|
Loading…
Reference in new issue