From 7a51784a36e2ac7d2418795327401ebe4b32eefb Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Thu, 1 Aug 2019 18:13:17 +0100 Subject: [PATCH] Moves oh-my-zsh into submodule --- .gitmodules | 3 +++ shells/zsh/oh-my-zsh-core | 1 + shells/zsh/zshrc | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 shells/zsh/oh-my-zsh-core diff --git a/.gitmodules b/.gitmodules index f4c52ff9..708f0590 100644 --- a/.gitmodules +++ b/.gitmodules @@ -16,3 +16,6 @@ [submodule "dwm"] path = NOSTOW/dwm url = git@github.com:Jab2870/dwm.git +[submodule "shells/zsh/oh-my-zsh-core"] + path = shells/zsh/oh-my-zsh-core + url = https://github.com/robbyrussell/oh-my-zsh.git diff --git a/shells/zsh/oh-my-zsh-core b/shells/zsh/oh-my-zsh-core new file mode 160000 index 00000000..6d2221e6 --- /dev/null +++ b/shells/zsh/oh-my-zsh-core @@ -0,0 +1 @@ +Subproject commit 6d2221e697ea4a2445202b1c32283610f84585ef diff --git a/shells/zsh/zshrc b/shells/zsh/zshrc index f20b69d6..14b781c1 100644 --- a/shells/zsh/zshrc +++ b/shells/zsh/zshrc @@ -2,7 +2,7 @@ # export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation. -export ZSH=/home/jonathan/.oh-my-zsh +export ZSH=$HOME/.dotfiles/shells/zsh/oh-my-zsh-core # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded.