From a4b1e5ffde202f6b77cf443df20d42bc3aa4a98e Mon Sep 17 00:00:00 2001 From: Faerbit Date: Sun, 21 Jun 2015 22:27:36 +0200 Subject: [PATCH] Now using zgen. --- zshrc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/zshrc b/zshrc index 2304311..6d922eb 100644 --- a/zshrc +++ b/zshrc @@ -1,3 +1,27 @@ +source /usr/share/zsh/scripts/zgen/zgen.zsh + +# check if there's no init script +if ! zgen saved; then + echo "Creating a zgen save" + + #zgen oh-my-zsh + + # plugins + #zgen oh-my-zsh plugins/gitfast + #zgen oh-my-zsh plugins/sudo + #zgen oh-my-zsh plugins/command-not-found + #zgen load zsh-users/zsh-syntax-highlighting + + ## completions + #zgen load zsh-users/zsh-completions src + + # theme + zgen oh-my-zsh themes/juanghurtado + + # save all to init script + zgen save +fi + alias sudo='sudo ' alias tasks="ps -u fab" alias update-grub="grub-mkconfig -o /boot/grub/grub.cfg"