From 19fbede22889a96e7d0b2c377eda74bfe116d440 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 9 Jul 2015 16:55:01 +0100 Subject: Replace antigen by zgen --- install.sh | 1 + zshrc | 38 +++++++++++++++++++++++--------------- 2 files changed, 24 insertions(+), 15 deletions(-) diff --git a/install.sh b/install.sh index 716776c..0e7ba9c 100755 --- a/install.sh +++ b/install.sh @@ -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 .. diff --git a/zshrc b/zshrc index 9651714..3b9541f 100644 --- a/zshrc +++ b/zshrc @@ -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 -- cgit v1.2.3