From e7acbeada5e6e8094f68dd94b9aca45eab2a4c71 Mon Sep 17 00:00:00 2001 From: Simon Gomizelj Date: Fri, 2 Dec 2011 09:39:45 -0500 Subject: [PATCH] Attempt to install omz as a site function instead. --- oh-my-zsh.zsh => oh-my-zsh | 2 ++ templates/zshrc.arch-zsh-template | 9 --------- templates/zshrc.zsh-template | 30 ------------------------------ 3 files changed, 2 insertions(+), 39 deletions(-) rename oh-my-zsh.zsh => oh-my-zsh (98%) delete mode 100644 templates/zshrc.arch-zsh-template delete mode 100644 templates/zshrc.zsh-template diff --git a/oh-my-zsh.zsh b/oh-my-zsh similarity index 98% rename from oh-my-zsh.zsh rename to oh-my-zsh index 76ebb83c6..d7166a74e 100644 --- a/oh-my-zsh.zsh +++ b/oh-my-zsh @@ -1,4 +1,5 @@ # Initializes Oh My Zsh +oh-my-zsh() { ZSH=${ZSH:-/usr/share/oh-my-zsh} OMZ=${OMZ:-$HOME/.omz} @@ -47,3 +48,4 @@ done local theme zstyle -a :omz:style theme theme set_theme $theme +} diff --git a/templates/zshrc.arch-zsh-template b/templates/zshrc.arch-zsh-template deleted file mode 100644 index 09f51c8f7..000000000 --- a/templates/zshrc.arch-zsh-template +++ /dev/null @@ -1,9 +0,0 @@ -ZSH=/usr/share/oh-my-zsh - -zstyle :omz:style theme "arch-blue" - -plugins=(archlinux sprunge) - -omz_init() { - source $ZSH/oh-my-zsh.zsh -} diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template deleted file mode 100644 index bbec3a9d2..000000000 --- a/templates/zshrc.zsh-template +++ /dev/null @@ -1,30 +0,0 @@ -# Path to your oh-my-zsh configuration. -ZSH=$HOME/.oh-my-zsh - -# Set to this to use case-sensitive completion -# CASE_SENSITIVE="true" - -# Comment this out to disable weekly auto-update checks -# DISABLE_AUTO_UPDATE="true" - -# Uncomment following line if you want to disable colors in ls -# DISABLE_LS_COLORS="true" - -# Uncomment following line if you want to disable autosetting terminal title. -# DISABLE_AUTO_TITLE="true" - -# Uncomment following line if you want red dots to be displayed while waiting for completion -# COMPLETION_WAITING_DOTS="true" - -# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) -# Example format: plugins=(rails git textmate ruby lighthouse) -plugins=(git) - -source $ZSH/oh-my-zsh.zsh - -# Load a theme -# Look in $ZSH/themes/ -set_theme "robbyrussell" -# random_theme - -# Customize to your needs...