From 9e17fe1fc1cbedf8017d60390abcfe7ef1a20d6c Mon Sep 17 00:00:00 2001 From: Simon Gomizelj Date: Mon, 28 Nov 2011 09:27:22 -0500 Subject: [PATCH] Updated templates to reflect how themeing is set at the moment. Not quite happy with it yet. --- templates/zshrc.arch-zsh-template | 19 ++++++++++--------- templates/zshrc.zsh-template | 11 +++++------ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/templates/zshrc.arch-zsh-template b/templates/zshrc.arch-zsh-template index 27f4d2e09..b9322b0b9 100644 --- a/templates/zshrc.arch-zsh-template +++ b/templates/zshrc.arch-zsh-template @@ -1,11 +1,9 @@ # Path to your oh-my-zsh configuration. ZSH=/usr/share/oh-my-zsh/ -# Set name of the theme to load. -# Look in /usr/local/share/oh-my-zsh/themes/ -# Optionally, if you set this to "random", it'll load a random theme each -# time that oh-my-zsh is loaded. -ZSH_THEME="arch-blue" +load_oh_my_zshell(){ + source $ZSH/oh-my-zsh.sh +} # Set to this to use case-sensitive completion # CASE_SENSITIVE="true" @@ -24,10 +22,13 @@ DISABLE_AUTO_UPDATE="true" # Which plugins would you like to load? (plugins can be found in /usr/local/share/oh-my-zsh/plugins/*) # Example format: plugins=(rails git textmate ruby lighthouse) -plugins=(git) +plugins=(archlinux sprung git) -load_oh_my_zshell(){ - source $ZSH/oh-my-zsh.sh -} +load_oh_my_zshell + +# Load a theme +# Look in /usr/local/share/oh-my-zsh/themes/ +set_theme "arch-blue" +# random_theme # Customize to your needs... diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template index 1ab40aba6..6d1db51ed 100644 --- a/templates/zshrc.zsh-template +++ b/templates/zshrc.zsh-template @@ -1,12 +1,6 @@ # Path to your oh-my-zsh configuration. ZSH=$HOME/.oh-my-zsh -# Set name of the theme to load. -# Look in ~/.oh-my-zsh/themes/ -# Optionally, if you set this to "random", it'll load a random theme each -# time that oh-my-zsh is loaded. -ZSH_THEME="robbyrussell" - # Set to this to use case-sensitive completion # CASE_SENSITIVE="true" @@ -28,4 +22,9 @@ plugins=(git) source $ZSH/oh-my-zsh.sh +# Load a theme +# Look in $ZSH/themes/ +set_theme "robbyrussell" +# random_theme + # Customize to your needs...