refactored some stuff
This commit is contained in:
parent
e007eb5a58
commit
5f3ecf6090
29 changed files with 91 additions and 666 deletions
11
zsh/.zshrc
11
zsh/.zshrc
|
@ -1,4 +1,9 @@
|
|||
source "$ZDOTDIR/exports.zsh"
|
||||
export path=($path $HOME/.config/dotfiles/bin)
|
||||
export fpath=($fpath $ZDOTDIR/local/fpath)
|
||||
|
||||
export os=$(grep -E "^ID=" /etc/*release | cut -d= -f2)
|
||||
export wsl=$(uname -r | cut -d'-' -f3)
|
||||
|
||||
source "$ZDOTDIR/dircolor.zsh"
|
||||
|
||||
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
@ -8,11 +13,11 @@ autoload -Uz compinit bashcompinit
|
|||
compinit -d $HOME/.cache/zsh/compdump
|
||||
bashcompinit
|
||||
|
||||
for file in $ZDOTDIR/libs/*.zsh; do source "$file"; done
|
||||
for file in $ZDOTDIR/plgs/*.zsh; do source "$file"; done
|
||||
for file in $ZDOTDIR/files/*.zsh; do source "$file"; done
|
||||
|
||||
[[ -f "$ZDOTDIR/local/rc.zsh" ]] && source "$ZDOTDIR/local/rc.zsh"
|
||||
|
||||
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
export STARSHIP_CONFIG=$ZDOTDIR/starship.toml
|
||||
eval "$(starship init zsh)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue