Skip to content

Commit

Permalink
fix(dot_zshrc): change DOTFILES_VERBOSE checking from numeric to boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Aug 6, 2023
1 parent 0b5151d commit 9a6ce94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chezmoi/dot_zshrc.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export DOTFILES_VERBOSE="{{ .system.verbose }}"
# load all shell config files
if [ -d "${HOME}/.config/shrc" ]; then
for file in "${HOME}/.config/shrc"/*; do
if [ "${DOTFILES_VERBOSE}" -gt 1 ]; then
if [ "${DOTFILES_VERBOSE}" = "true" ]; then
echo "* Loading shell config file: ${file}"
fi
# shellcheck source=/dev/null
Expand All @@ -15,7 +15,7 @@ fi
# load all zsh config files
if [ -d "${HOME}/.config/zshrc" ]; then
for file in "${HOME}/.config/zshrc"/*; do
if [ "${DOTFILES_VERBOSE}" -gt 1 ]; then
if [ "${DOTFILES_VERBOSE}" = "true" ]; then
echo "* Loading zsh config file: ${file}"
fi
# shellcheck source=/dev/null
Expand Down

0 comments on commit 9a6ce94

Please sign in to comment.