Skip to content

Commit

Permalink
fix: bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chunhui authored and chunhui committed Jan 18, 2025
1 parent 992c584 commit 4d1bde0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion etc/zsh/zshenv
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export XDG_STATE_HOME=$HOME/.local/state
export SQLITE_HISTORY=$XDG_DATA_HOME/sqlite_history

# ZSH
export ZDOTDIR=$XDG_CONFIG_HOME/zsh
export ZDOTDIR=${ZDOTDIR:-$HOME/.config/zsh}
export ZSH_COMPDUMP=$ZSH/cache/.zcompdump-$HOST

# NodeJS
Expand Down
4 changes: 4 additions & 0 deletions libexec/after_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ setup_zsh() {

rm -rf $HOME/.zshrc

if [[ ! -d $ZDOTDIR ]]; then
mkdir $ZDOTDIR
fi

if [[ $(uname -m) == "arm64" ]]; then
cp etc/zsh/zprofile $ZDOTDIR/.zprofile
fi
Expand Down
2 changes: 0 additions & 2 deletions libexec/brew_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@ brew_install() {
rm -rf brew-install
fi

log_ok "homebrew"

brew bundle --no-lock
}

0 comments on commit 4d1bde0

Please sign in to comment.