Skip to content

Commit ea57412

Browse files
committed
Avoid creating unnecessary empty ~/.zshrc
* This gets moved to `~/.zshrc.pre-oh-my-zsh` and replaced w/ a new `~/.zshrc` from the Oh My Zsh template * https://github.com/ohmyzsh/ohmyzsh/blob/d23d3ea69fdb839088e6e5589557cce77b34aaf8/tools/install.sh#L332
1 parent 4663006 commit ea57412

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

mac

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ trap 'ret=$?; test $ret -ne 0 && printf "failed\n\n" >&2; exit $ret' EXIT
1212

1313
set -e
1414

15-
if [ ! -f "$HOME/.zshrc" ]; then
16-
touch "$HOME/.zshrc"
17-
fi
18-
1915
# Determine Homebrew prefix
2016
arch="$(uname -m)" # used to be x86_64, now arm64
2117
if [ "$arch" = "arm64" ]; then

0 commit comments

Comments
 (0)