mirror of
https://github.com/KiTTYsh/dotfiles.git
synced 2025-12-09 20:59:16 -05:00
add zsh stuff
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "zsh/antigen"]
|
||||
path = zsh/antigen
|
||||
url = https://github.com/zsh-users/antigen.git
|
||||
@@ -1 +1,2 @@
|
||||
# dotfiles
|
||||
# Kitty's dotfiles
|
||||
wooo, run the `install` script and it should get everything set up for you
|
||||
|
||||
1
zsh/antigen
Submodule
1
zsh/antigen
Submodule
Submodule zsh/antigen added at c91f77c8e9
30
zsh/zshrc
Normal file
30
zsh/zshrc
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user