Skip to content

Commit

Permalink
fix: update zsh path
Browse files Browse the repository at this point in the history
  • Loading branch information
chunhui authored and chunhui committed Jan 18, 2025
1 parent e732a07 commit 13ba05b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libexec/after_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ setup_zsh() {
rm -rf $HOME/.zshrc

if [[ $(uname -m) == "arm64" ]]; then
cp $DOTDIR/etc/zsh/zprofile $ZDOTDIR/.zprofile
cp etc/zsh/zprofile $ZDOTDIR/.zprofile
fi

if [[ ! -f $HOME/.zshenv ]]; then
cp $HOME/.config/dotfiles/etc/zsh/zshenv $HOME/.zshenv
cp etc/zsh/zshenv $HOME/.zshenv
source $HOME/.zshenv
fi

cp $DOTDIR/etc/zsh/zshrc $ZDOTDIR/.zshrc
cp etc/zsh/zshrc $ZDOTDIR/.zshrc

zsh $ZDOTDIR/.zshrc
}
Expand Down

0 comments on commit 13ba05b

Please sign in to comment.