From antigen to zinit, removed lots of useless zsh stuff
parent
45256f25bd
commit
13afe85093
@ -0,0 +1,64 @@
|
||||
{
|
||||
"alfredtheme" : {
|
||||
"result" : {
|
||||
"textSpacing" : 7,
|
||||
"subtext" : {
|
||||
"size" : 11,
|
||||
"colorSelected" : "#3C3836FF",
|
||||
"font" : "FiraCode Nerd Font Mono",
|
||||
"color" : "#928374FF"
|
||||
},
|
||||
"shortcut" : {
|
||||
"size" : 16,
|
||||
"colorSelected" : "#B8BB26FF",
|
||||
"font" : "FiraCode Nerd Font Mono",
|
||||
"color" : "#B8BB26FF"
|
||||
},
|
||||
"backgroundSelected" : "#A89983FF",
|
||||
"text" : {
|
||||
"size" : 16,
|
||||
"colorSelected" : "#EBDBB2FF",
|
||||
"font" : "FiraCode Nerd Font Mono",
|
||||
"color" : "#A89983FF"
|
||||
},
|
||||
"iconPaddingHorizontal" : 4,
|
||||
"roundness" : 0,
|
||||
"paddingVertical" : 5,
|
||||
"iconSize" : 48
|
||||
},
|
||||
"search" : {
|
||||
"backgroundSelected" : "#B2D7FFFF",
|
||||
"paddingHorizontal" : 8,
|
||||
"spacing" : 8,
|
||||
"text" : {
|
||||
"size" : 28,
|
||||
"colorSelected" : "#000000FF",
|
||||
"font" : "FiraCode Nerd Font Mono",
|
||||
"color" : "#A89983FF"
|
||||
},
|
||||
"background" : "#3C3836FF",
|
||||
"roundness" : 0,
|
||||
"paddingVertical" : 2
|
||||
},
|
||||
"window" : {
|
||||
"color" : "#272727FF",
|
||||
"paddingHorizontal" : 10,
|
||||
"width" : 720,
|
||||
"borderPadding" : 6,
|
||||
"borderColor" : "#3C3836FF",
|
||||
"blur" : 40,
|
||||
"roundness" : -64,
|
||||
"paddingVertical" : 10
|
||||
},
|
||||
"credit" : "webgefrickel",
|
||||
"separator" : {
|
||||
"color" : "#CBCBCBF3",
|
||||
"thickness" : 0
|
||||
},
|
||||
"scrollbar" : {
|
||||
"color" : "#B8BB26FF",
|
||||
"thickness" : 6
|
||||
},
|
||||
"name" : "Gruvbox"
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
sandbox_init_pyenv() {
|
||||
eval "$(pyenv init -)"
|
||||
}
|
||||
|
||||
sandbox_init_rbenv() {
|
||||
eval "$(rbenv init -)"
|
||||
}
|
||||
|
||||
sandbox_hook_shims pyenv
|
||||
sandbox_hook_shims rbenv
|
File diff suppressed because it is too large
Load Diff
@ -1,41 +1,41 @@
|
||||
# Load the antigen, and all functions, aliases and exports
|
||||
source ~/dotfiles/zsh/antigen.zsh
|
||||
### Added by Zinit's installer
|
||||
if [[ ! -f $HOME/.zinit/bin/zinit.zsh ]]; then
|
||||
print -P "%F{33}▓▒░ %F{220}Installing %F{33}DHARMA%F{220} Initiative Plugin Manager (%F{33}zdharma/zinit%F{220})…%f"
|
||||
command mkdir -p "$HOME/.zinit" && command chmod g-rwX "$HOME/.zinit"
|
||||
command git clone https://github.com/zdharma/zinit "$HOME/.zinit/bin" && \
|
||||
print -P "%F{33}▓▒░ %F{34}Installation successful.%f%b" || \
|
||||
print -P "%F{160}▓▒░ The clone has failed.%f%b"
|
||||
fi
|
||||
|
||||
source "$HOME/.zinit/bin/zinit.zsh"
|
||||
autoload -Uz _zinit
|
||||
(( ${+_comps} )) && _comps[zinit]=_zinit
|
||||
### End of Zinit's installer chunk
|
||||
|
||||
# exports, functions and aliases
|
||||
source ~/dotfiles/zsh/exports
|
||||
source ~/dotfiles/zsh/aliases
|
||||
source ~/dotfiles/zsh/functions
|
||||
|
||||
# plugins
|
||||
antigen use belak/zsh-utils
|
||||
antigen bundle zsh-users/zsh-autosuggestions
|
||||
antigen bundle zsh-users/zsh-completions
|
||||
antigen bundle zsh-users/zsh-syntax-highlighting
|
||||
antigen bundle completion
|
||||
antigen bundle history
|
||||
antigen apply
|
||||
zinit wait lucid for \
|
||||
light-mode benvan/sandboxd \
|
||||
light-mode zsh-users/zsh-autosuggestions \
|
||||
light-mode zsh-users/zsh-completions \
|
||||
light-mode zdharma/fast-syntax-highlighting \
|
||||
light-mode "https://github.com/belak/zsh-utils/blob/master/history/history.plugin.zsh" \
|
||||
light-mode "https://github.com/belak/zsh-utils/blob/master/completion/completion.plugin.zsh"
|
||||
|
||||
# history
|
||||
setopt SHARE_HISTORY
|
||||
unsetopt HIST_BEEP
|
||||
|
||||
# a nice prompt, install it via npm to make this work
|
||||
autoload -U promptinit; promptinit
|
||||
prompt pure
|
||||
|
||||
# completions
|
||||
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
||||
compdef g=git
|
||||
compdef gf=git-flow
|
||||
|
||||
# easy vim/terminal switch
|
||||
zle -N fancy-ctrl-z
|
||||
bindkey '^Z' fancy-ctrl-z
|
||||
|
||||
# smart urls
|
||||
autoload -U url-quote-magic
|
||||
zle -N self-insert url-quote-magic
|
||||
|
||||
# other tools init
|
||||
# other tools init, pyenv + rbenv are sandboxd
|
||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||
eval "$(starship init zsh)"
|
||||
eval "$(jump shell)"
|
||||
eval "$(rbenv init -)"
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
|
Loading…
Reference in New Issue