dotfiles/home/.zshrc

51 lines
1.6 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
2023-01-03 03:47:48 +00:00
zplug "BurntSushi/ripgrep", from:gh-r, as:command, rename-to:rg
2023-01-03 03:57:39 +00:00
zplug "junegunn/fzf", from:gh-r, as:command, rename-to:fzf
2023-01-03 03:47:48 +00:00
zplug "r-darwish/topgrade", from:gh-r, as:command, rename-to:topgrade
zplug "sharkdp/bat", from:gh-r, as:command, rename-to:bat
zplug "stedolan/jq", from:gh-r, as:command, rename-to:jq
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
2022-06-04 20:26:41 +00:00
zplug "plugins/git", from:oh-my-zsh
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
2021-12-30 13:54:52 +00:00
zplug "plugins/pass", from:oh-my-zsh
zplug "plugins/macos", from:oh-my-zsh
2018-10-20 18:39:31 +00:00
fi
[ -s "$HOME/.zsh.local" ] && source $HOME/.zsh.local
zplug check || zplug install
zplug load