(work) back to ZDOTDIR
This commit is contained in:
parent
7162103c05
commit
db62f2496e
1 changed files with 5 additions and 5 deletions
|
@ -44,15 +44,15 @@ setopt HIST_SAVE_NO_DUPS
|
|||
setopt INC_APPEND_HISTORY
|
||||
setopt SHARE_HISTORY
|
||||
setopt RMSTARSILENT
|
||||
rm -rf "${realhome}/.config/zsh/.zsh_history" && ln -sf "${XDG_DATA_HOME}/zsh/history" "${realhome}/.config/zsh/.zsh_history"
|
||||
rm -rf "${ZDOTDIR}/.zsh_history" && ln -sf "${XDG_DATA_HOME}/zsh/history" "${ZDOTDIR}/.zsh_history"
|
||||
|
||||
# set path
|
||||
path=(~/.local/bin "${path[@]}")
|
||||
|
||||
# source configuration
|
||||
source "${realhome}/.config/zsh/aliases.zsh"
|
||||
source "${realhome}/.config/zsh/keys.zsh"
|
||||
source "${realhome}/.config/zsh/fzf.zsh"
|
||||
source "${ZDOTDIR}/aliases.zsh"
|
||||
source "${ZDOTDIR}/keys.zsh"
|
||||
source "${ZDOTDIR}/fzf.zsh"
|
||||
|
||||
# set fpath
|
||||
fpath=(~/.local/git/zsh_modules/wd $fpath)
|
||||
|
@ -65,7 +65,7 @@ else
|
|||
unset LS_COLORS
|
||||
fi
|
||||
source "${realhome}/.local/git/zsh_modules/powerlevel10k/powerlevel10k.zsh-theme"
|
||||
source "${realhome}/.config/zsh/p10k.zsh"
|
||||
source "${ZDOTDIR}/p10k.zsh"
|
||||
|
||||
# completion
|
||||
autoload -Uz compinit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue