Skip to content

Commit

Permalink
Merge pull request #6 from balancedscorpion/new_user_mods
Browse files Browse the repository at this point in the history
Updated the call to main robyrussel script
  • Loading branch information
balancedscorpion authored Aug 1, 2024
2 parents 2bbdaa4 + 9de340b commit bce9519
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions zsh-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,14 @@ fi

cd /tmp

# Install On-My-Zsh
# Install Oh My Zsh
if [ ! -d "$TARGET_HOME/.oh-my-zsh" ]; then
su - $TARGET_USER -c 'sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" "" --unattended'
su - $TARGET_USER -c '
export HOME="'"$TARGET_HOME"'"
export USER="'"$TARGET_USER"'"
export ZDOTDIR="$HOME"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
'
fi

# Generate plugin list
Expand Down

0 comments on commit bce9519

Please sign in to comment.