Skip to content

Commit c0c2b65

Browse files
committed
Reload zsh
* This also fixes the following error: mac: line 159: /Users/runner/.zshrc: No such file or directory
1 parent ea57412 commit c0c2b65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mac

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ if [ ! -d "$HOME/.rubies" ]; then
156156
echo "$ruby_version" > "$HOME/.ruby-version"
157157
# https://batsov.com/articles/2022/09/15/reload-zsh-configuration/
158158
# shellcheck disable=SC1091
159-
. "$HOME/.zshrc"
159+
# . "$HOME/.zshrc"
160+
exec zsh -l
160161
# After installing new Rubies, one must restart the shell before chruby can recognize them.
161162
# https://github.com/postmodern/chruby#rubies-1
162163
# chruby "$ruby_version" # won't work, only sets shell's $RUBY_VERSION to default Ruby

0 commit comments

Comments
 (0)