refactored some stuff
This commit is contained in:
parent
5f3ecf6090
commit
273036b1bc
2 changed files with 1 additions and 30 deletions
23
zsh/.zshrc
23
zsh/.zshrc
|
@ -1,23 +0,0 @@
|
|||
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
|
||||
|
||||
mkdir -p $HOME/.cache/zsh
|
||||
autoload -Uz compinit bashcompinit
|
||||
compinit -d $HOME/.cache/zsh/compdump
|
||||
bashcompinit
|
||||
|
||||
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)"
|
1
zsh/.zshrc
Symbolic link
1
zsh/.zshrc
Symbolic link
|
@ -0,0 +1 @@
|
|||
rc.zsh
|
|
@ -1,7 +0,0 @@
|
|||
export path=($path $HOME/.config/dotfiles/bin)
|
||||
export fpath=($fpath $ZDOTDIR/local/fpath)
|
||||
export infopath=($infopath /usr/share/info)
|
||||
|
||||
export os=$(grep -E "^ID=" /etc/*release | cut -d= -f2)
|
||||
export wsl=$(uname -r | cut -d'-' -f3)
|
||||
export STARSHIP_CONFIG=$ZDOTDIR/starship.toml
|
Loading…
Add table
Reference in a new issue