dotter/zshrc_zinit

52 lines
1.3 KiB
Plaintext
Raw Normal View History

2022-10-23 13:32:02 +00:00
{{#if enableTmux}}
2021-12-31 10:12:04 +00:00
export ZSH_TMUX_AUTOSTART=true
export ZSH_TMUX_AUTOSTART_ONCE=true
export ZSH_TMUX_AUTOCONNECT=true
2022-10-23 13:32:02 +00:00
{{/if}}
2021-12-27 15:02:42 +00:00
# install zinit
# git clone https://github.com/zdharma-continuum/zinit.git ~/.zinit/bin
2021-12-27 15:01:23 +00:00
source ~/.zinit/bin/zinit.zsh
zinit light zsh-users/zsh-completions
zinit light zsh-users/zsh-autosuggestions
zinit light mattbangert/kubectl-zsh-plugin
2022-03-30 15:11:39 +00:00
zinit light zdharma-continuum/fast-syntax-highlighting
2022-01-15 13:45:50 +00:00
zinit light zsh-users/zsh-history-substring-search
2021-12-27 15:01:23 +00:00
# OhMyZSH Plugs
zinit snippet OMZ::lib/completion.zsh
zinit snippet OMZ::lib/git.zsh
zinit snippet OMZ::lib/theme-and-appearance.zsh
zinit ice as="completion"
zinit snippet OMZ::plugins/docker/_docker
zinit snippet OMZP::composer
2022-03-30 15:11:39 +00:00
zinit snippet OMZP::aws
2021-12-27 15:01:23 +00:00
zinit snippet OMZ::plugins/sudo/sudo.plugin.zsh
2022-03-30 15:11:39 +00:00
zinit snippet OMZP::kubectl
2021-12-27 15:01:23 +00:00
zinit ice lucid wait='1'
zinit snippet OMZ::plugins/git/git.plugin.zsh
# Load OMZ extract folder
zinit ice svn
zinit snippet OMZ::plugins/extract
2022-10-23 13:32:02 +00:00
{{#if enableTmux}}
2021-12-31 10:12:04 +00:00
zinit ice svn
zinit snippet OMZ::plugins/tmux
2022-10-23 13:32:02 +00:00
{{/if}}
2021-12-27 15:01:23 +00:00
2022-01-15 13:46:28 +00:00
# theme
2023-01-18 16:03:59 +00:00
zinit light "otakukaze/zsh-ys-theme"
2022-01-15 13:46:28 +00:00
2021-12-27 15:01:23 +00:00
# auto load other zshfiles
[ -f "$HOME/.zsh/zsh.sh" ] && source "$HOME/.zsh/zsh.sh"
[ -f "$HOME/.zprofile" ] && source "$HOME/.zprofile"
# vim: set ft=zsh:
2022-03-30 15:11:39 +00:00
2022-04-14 13:30:31 +00:00
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
2022-10-23 13:32:02 +00:00
export PATH="/usr/local/opt/openjdk/bin:$PATH"