diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-07-09 16:55:01 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-07-09 16:55:01 +0100 |
commit | 19fbede22889a96e7d0b2c377eda74bfe116d440 (patch) | |
tree | fa0e5b7810ecf7a02da62cea458e432d12fc7f73 | |
parent | 899da7342c88f0b3319c8baa95d41a3a0e810893 (diff) |
Replace antigen by zgen
-rwxr-xr-x | install.sh | 1 | ||||
-rw-r--r-- | zshrc | 38 |
2 files changed, 24 insertions, 15 deletions
@@ -16,6 +16,7 @@ repodirs[junegunn/fzf]=$home/.fzf repodirs[icholy/ttygif]=$home/github/ttygif repodirs[tmux-plugins/tpm]=$home/.tmux/plugins/tpm repodirs[junegunn/vim-plug]=$dir/vim/vim-plug +repodirs[tarjoilija/zgen]=$home/.zgen function after_vimplug { cd .. @@ -1,18 +1,29 @@ -# Source antigen -source ~/.antigen.zsh +# Load zgen +source "/home/urbain/.zgen/zgen.zsh" -# Load the oh-my-zsh's library. -antigen use oh-my-zsh +if ! zgen saved; then -# Bundles from the default repo (robbyrussell's oh-my-zsh). -antigen bundle git -antigen bundle vi-mode -antigen bundle ubuntu -antigen bundle tmux -antigen bundle rupa/z + echo "Creating a zgen save" -# Theme -antigen theme eastwood + # Load oh-my-zsh framework + zgen oh-my-zsh + + # Plugins + zgen oh-my-zsh plugins/git + zgen oh-my-zsh plugins/vi-mode + zgen oh-my-zsh plugins/ubuntu + zgen oh-my-zsh plugins/tmux + zgen rupa/z + + # Load completion + zgen load zsh-users/zsh-completions src + + # Theme + zgen oh-my-zsh themes/eastwood + + # Save all to init script + zgen save +fi # User configuration export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" @@ -20,9 +31,6 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/g # Editor export EDITOR=/usr/bin/nvim -# ssh -# export SSH_KEY_PATH="~/.ssh/dsa_id" - # Apps for filetypes alias -s vim=$EDITOR alias -s cpp=$EDITOR |