Skip to content

Commit

Permalink
refactor(functions): uses ZSH environment variable in install_ohmyzsh…
Browse files Browse the repository at this point in the history
…_plugins
  • Loading branch information
nyoungstudios committed Oct 30, 2024
1 parent b46c9d5 commit ce24471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/install_ohmyzsh_plugins/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ install_ohmyzsh_plugins() {
# installs plugins for ohmyzsh
for repo in "$@"
do
git -C ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins clone --depth=1 "$repo"
git -C "${ZSH_CUSTOM:-${ZSH:-$HOME/.oh-my-zsh}/custom}/plugins" clone --depth=1 "$repo"
done
}

0 comments on commit ce24471

Please sign in to comment.