diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..3a824c8 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "zsh/antigen"] + path = zsh/antigen + url = https://github.com/zsh-users/antigen.git diff --git a/README.md b/README.md index 27ef622..070765b 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ -# dotfiles \ No newline at end of file +# Kitty's dotfiles +wooo, run the `install` script and it should get everything set up for you diff --git a/zsh/antigen b/zsh/antigen new file mode 160000 index 0000000..c91f77c --- /dev/null +++ b/zsh/antigen @@ -0,0 +1 @@ +Subproject commit c91f77c8e9d96da43ae6dcaca4f2c823532302dc diff --git a/zsh/zshrc b/zsh/zshrc new file mode 100644 index 0000000..89482ce --- /dev/null +++ b/zsh/zshrc @@ -0,0 +1,30 @@ +# make sure antigen exists +if [[ ! -a ~/.antigen.zsh ]]; then + wget https://git.io/antigen -O ~/.antigen.zsh +fi + +# powerlevel9k config +POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k +POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir virtualenv vcs) +POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status battery root_indicator background_jobs) + +# load in antigen +source ~/.antigen.zsh + +# pull in oh-my-zsh +antigen use oh-my-zsh + +# plugins from oh-my-zsh +antigen bundle git +antigen bundle pipenv + +# plugins from other repos +antigen bundle zsh-users/zsh-autosuggestions +antigen bundle zsh-users/zsh-syntax-highlighting + +# set the theme +#antigen theme agnoster +antigen theme bhilburn/powerlevel9k powerlevel9k + +# finish up +antigen apply