ZSH modules are now separate.
This commit is contained in:
parent
cf3420bfcf
commit
8f3f9f3226
6 changed files with 18 additions and 27 deletions
26
zsh/.zshrc
26
zsh/.zshrc
|
@ -19,33 +19,29 @@ mkdir -p $XDG_CACHE_HOME/zsh
|
|||
zstyle ':completion:*' menu select
|
||||
zstyle ':completion:*' list-colors ''
|
||||
|
||||
# keys
|
||||
source $ZDOTDIR/keys.zsh
|
||||
|
||||
# aliases
|
||||
source $ZDOTDIR/aliases.zsh
|
||||
|
||||
# ssh
|
||||
source $ZDOTDIR/keys.zsh
|
||||
source $ZDOTDIR/ssh.zsh
|
||||
|
||||
# plugins & addons
|
||||
# modules
|
||||
[ -f $XDG_CONFIG_HOME/fzf/fzf.zsh ] && source $ZDOTDIR/fzf.zsh
|
||||
source $ZDOTDIR/modules/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
|
||||
source $XDG_DATA_HOME/repos/zsh_modules/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
|
||||
export WD_CONFIG=$XDG_CONFIG_HOME/wd_list
|
||||
wd () {
|
||||
. $XDG_DATA_HOME/repos/zsh_modules/wd/wd.sh
|
||||
}
|
||||
fpath=($ZDOTDIR/modules/wd $fpath)
|
||||
|
||||
# theme
|
||||
source $ZDOTDIR/p10k.zsh
|
||||
source $ZDOTDIR/modules/powerlevel10k/powerlevel10k.zsh-theme
|
||||
source $XDG_DATA_HOME/repos/zsh_modules/powerlevel10k/powerlevel10k.zsh-theme
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
|
||||
export WD_CONFIG=$XDG_CONFIG_HOME/wd_list
|
||||
wd () {
|
||||
. $ZDOTDIR/modules/wd/wd.sh
|
||||
}
|
||||
fpath=($ZDOTDIR/modules/wd $fpath)
|
||||
|
||||
# local settings
|
||||
source ~/.local/config/zsh
|
||||
|
||||
# compinit at the very end to avoid duplicates
|
||||
[ ! -e $XDG_DATA_HOME/zsh/zcompdump.zwc ] && autoload -U zrecompile && zrecompile -p -R $XDG_DATA_HOME/zsh/zcompdump
|
||||
autoload -U compinit && compinit -d $XDG_DATA_HOME/zsh/zcompdump
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit ef8ba84c3a76c768f49a0bdd2a620b2f53c2478a
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 30bd9461b3f013bc4c529de0a123db89a92a87c7
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 38afa73ca85a557aef89438ad9fd60b5b41cdbc7
|
Loading…
Add table
Add a link
Reference in a new issue