stuff
This commit is contained in:
parent
b3ae29b01c
commit
63aa284ef3
1 changed files with 6 additions and 6 deletions
12
zsh/rc.zsh
12
zsh/rc.zsh
|
@ -21,9 +21,6 @@ ZINIT[HOME_DIR]="$HOME/.config/zinit"
|
|||
ZINIT[ZCOMPDUMP_PATH]="$HOME/.cache/zsh/compdump"
|
||||
source $HOME/.config/zinit/bin/zinit.zsh
|
||||
|
||||
# Theme
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
# Programs
|
||||
zinit ice as"program" from"gh-r" mv"fd* -> fd" pick"fd/fd"; zinit light sharkdp/fd
|
||||
zinit ice as"program" from"gh-r" mv"bat* -> bat" pick"bat/bat"; zinit light sharkdp/bat
|
||||
|
@ -56,15 +53,15 @@ zinit snippet OMZL::clipboard.zsh
|
|||
zinit snippet OMZL::grep.zsh
|
||||
|
||||
# Completion Stuff
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
zstyle ':completion:*:*:*:users' ignored-patterns '*'
|
||||
zstyle -e ':completion:*:(ssh|scp|sftp|rsh|rsync):hosts' hosts 'reply=(${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) /dev/null)"}%%[# ]*}//,/ })'
|
||||
zstyle -e ':completion:*:(ssh|scp|rsync):hosts' hosts 'reply=(${=${${(f)"$(cat {/etc/ssh_,~/.ssh/known_}hosts(|2)(N) /dev/null)"}%%[# ]*}//,/ })'
|
||||
zstyle ':completion:*:(ssh|scp|rsync):*:hosts-host' ignored-patterns '*(.|:)*' loopback ip6-loopback localhost localhost4 localhost6 ip6-localhost broadcasthost pxm
|
||||
zstyle ':completion:*:(ssh|scp|rsync):*:hosts-domain' ignored-patterns '<->.<->.<->.<->' '^[-[:alnum:]]##(.[-[:alnum:]]##)##' '*@*' '*localdomain*' '*.eeleater.org' '*sublime*' '*.local'
|
||||
zstyle ':completion:*:(ssh|scp|rsync):*:hosts-ipaddr' ignored-patterns '^(<->.<->.<->.<->|(|::)([[:xdigit:].]##:(#c,2))##(|%*))' '127.0.0.<->' '255.255.255.255' '::1' 'fe80::*'
|
||||
|
||||
# Plugins
|
||||
eval "$(fasd --init auto)"
|
||||
zinit ice lucid; zinit light mroth/evalcache
|
||||
_evalcache fasd --init auto
|
||||
zinit ice wait lucid; zinit snippet OMZP::command-not-found
|
||||
zinit ice wait lucid; zinit snippet OMZP::lando
|
||||
zinit ice wait lucid; zinit snippet OMZP::thefuck
|
||||
|
@ -82,5 +79,8 @@ autoload -U +X bashcompinit
|
|||
bashcompinit
|
||||
zinit ice wait lucid atinit"zpcdreplay -q"; zinit light zsh-users/zsh-syntax-highlighting
|
||||
|
||||
# Theme
|
||||
_evalcache starship init zsh
|
||||
|
||||
# Local RC
|
||||
[[ -f "$ZDOTDIR/local/rc.zsh" ]] && source "$ZDOTDIR/local/rc.zsh"
|
||||
|
|
Loading…
Add table
Reference in a new issue