dotfiles/home/.zshrc

54 lines
1.8 KiB
Bash
Raw Normal View History

2018-10-20 18:39:31 +00:00
[ -s "$HOME/.zshenv" ] && source $HOME/.zshenv
2012-07-28 17:01:15 +00:00
2018-10-20 18:39:31 +00:00
if [[ ! -d ~/.zplug ]]; then
git clone https://github.com/zplug/zplug ~/.zplug
2019-07-23 15:54:26 +00:00
source ~/.zplug/init.zsh && zplug update
else
source ~/.zplug/init.zsh
2018-10-20 18:39:31 +00:00
fi
2012-07-28 17:01:15 +00:00
2018-10-20 18:39:31 +00:00
zplug "zplug/zplug", hook-build:'zplug --self-manage'
2012-07-28 17:01:15 +00:00
2019-07-23 15:54:26 +00:00
zplug "wagoodman/dive", from:gh-r, as:command, rename-to:dive
2021-02-22 15:56:54 +00:00
zplug "tbillington/kondo", from:gh-r, as:command, rename-to:kondo, ignore:"*ui*"
2019-07-23 15:54:26 +00:00
zplug "stedolan/jq", from:gh-r, as:command, rename-to:jq
zplug "sharkdp/bat", from:gh-r, as:command, rename-to:bat
2020-12-08 14:24:23 +00:00
zplug "r-darwish/topgrade", from:gh-r, as:command, rename-to:topgrade
2019-07-23 15:54:26 +00:00
zplug "junegunn/fzf-bin", from:gh-r, as:command, rename-to:fzf
zplug "genuinetools/reg", from:gh-r, as:command, rename-to:reg
zplug "BurntSushi/ripgrep", from:gh-r, as:command, rename-to:rg
2018-11-09 03:37:34 +00:00
2018-10-20 18:39:31 +00:00
zplug "b4b4r07/enhancd", use:init.sh
if zplug check "b4b4r07/enhancd"; then
export ENHANCD_FILTER="fzf --height 50% --reverse --ansi"
export ENHANCD_DOT_SHOW_FULLPATH=1
fi
2018-11-08 07:13:28 +00:00
zplug "lib/termsupport", from:oh-my-zsh
2019-07-23 15:54:26 +00:00
zplug "lib/key-bindings", from:oh-my-zsh
zplug "lib/history", from:oh-my-zsh
zplug "lib/grep", from:oh-my-zsh
zplug "lib/directories", from:oh-my-zsh
zplug "lib/completion", from:oh-my-zsh
2018-10-20 18:39:31 +00:00
zplug "plugins/git", from:oh-my-zsh
2019-07-23 15:54:26 +00:00
zplug "plugins/docker", from:oh-my-zsh
zplug "plugins/asdf", from:oh-my-zsh
2018-10-20 18:39:31 +00:00
zplug "zsh-users/zsh-completions"
zplug "zsh-users/zsh-syntax-highlighting", defer:2
2019-08-11 15:47:25 +00:00
zplug "~/.zsh/plugins", from:local
zplug "~/.zsh/cmd", from:local, use:'(*).sh', as:command, rename-to:'$1'
zplug "~/.zsh/themes", from:local, use:cheetah.zsh-theme, as:theme
2019-07-23 15:54:26 +00:00
2018-10-20 18:39:31 +00:00
if [[ $OSTYPE == *darwin* ]]; then
zplug "plugins/osx", from:oh-my-zsh
zplug "plugins/pass", from:oh-my-zsh
fi
[ -s "$HOME/.zsh.local" ] && source $HOME/.zsh.local
zplug check || zplug install
zplug load