Move fixing .zsh_history to .zshenv.
This commit is contained in:
parent
d8bb1b2333
commit
726fa04730
2 changed files with 7 additions and 9 deletions
|
@ -16,7 +16,6 @@ setopt HIST_SAVE_NO_DUPS
|
|||
setopt HIST_REDUCE_BLANKS
|
||||
setopt SHARE_HISTORY
|
||||
setopt INC_APPEND_HISTORY
|
||||
rm -rf "${ZDOTDIR}/.zsh_history" && ln -sf "${XDG_DATA_HOME}/zsh/history" "${ZDOTDIR}/.zsh_history"
|
||||
|
||||
# set path
|
||||
path=(~/.local/bin "${path[@]}")
|
||||
|
@ -42,9 +41,6 @@ if [[ $(command -v vivid) ]]; then
|
|||
else
|
||||
unset LS_COLORS
|
||||
fi
|
||||
# if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
|
||||
# eval "$(oh-my-posh --config "${XDG_CONFIG_HOME}/omp/omp.toml" init zsh)"
|
||||
# fi
|
||||
source "${ZDOTDIR}/p10k.zsh"
|
||||
source ~/.local/git/zsh_modules/powerlevel10k/powerlevel10k.zsh-theme
|
||||
if [[ -r "${XDG_CACHE_HOME}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue