Skip to content
This repository has been archived by the owner on Feb 1, 2021. It is now read-only.

Commit

Permalink
Update for zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
ziwon committed Sep 6, 2019
1 parent 22676ee commit 2fdb0d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions zsh/.exports.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,18 @@ export LSCOLORS='GxFxCxDxBxegedabagaced'
export PATH="$HOME/.zplugin/bin:$PATH"

# Theme styling
export BULLETTRAIN_PROMPT_ORDER=(time dir virtualenv aws go rust git status cmd_exec_time)
export BULLETTRAIN_PROMPT_ORDER=(time dir virtualenv aws kctx go rust git status cmd_exec_time)
export BULLETTRAIN_DIR_BG='110m' # light blue
export BULLETTRAIN_DIR_FG=black
export BULLETTRAIN_DIR_EXTENDED=2
export BULLETTRAIN_TIME_BG='250m' # grey
export BULLETTRAIN_VIRTUALENV_BG='69m' # blue
export BULLETTRAIN_VIRTUALENV_FG=black
export BULLETTRAIN_VIRTUALENV_PREFIX=py
export BULLETTRAIN_KCTX_BG='69m' # blue
export BULLETTRAIN_AWS_BG='169m' # purple
export BULLETTRAIN_KCTX_PREFIX='☸️ '
export BULLETTRAIN_KCTX_BG='96m' # blue
export BULLETTRAIN_KCTX_KCONFIG=$HOME/.kube/config

# Set the ENHANCD_FILTER variable to `fzy` as the first one
export ENHANCD_FILTER="fzy:fzf"
Expand Down
4 changes: 3 additions & 1 deletion zsh/.zplugin.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ zplugin snippet OMZ::plugins/common-aliases/common-aliases.plugin.zsh
zplugin snippet OMZ::plugins/golang/golang.plugin.zsh
zplugin ice as"completion"; zplugin snippet https://github.com/docker/cli/blob/master/contrib/completion/zsh/_docker
zplugin ice as"completion"; zplugin snippet https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/docker-compose/_docker-compose
zplugin ice as"completion"; zplugin snippet https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/terraform/_terraform
zplugin ice as"completion"; zplugin snippet https://github.com/hashicorp/packer/blob/master/contrib/zsh-completion/_packer

# Git
zplugin snippet OMZ::lib/git.zsh
Expand All @@ -48,7 +50,7 @@ zplugin ice as"program" make'!' atclone'./direnv hook zsh > zhook.zsh' atpull'%a
zplugin light direnv/direnv

# Theme
zplugin load caiogondim/bullet-train.zsh
zplugin load ziwon/bullet-train.zsh

autoload -Uz compinit
compinit

0 comments on commit 2fdb0d7

Please sign in to comment.