diff --git a/zsh/functions/motd.zsh b/zsh/functions/motd.zsh index 1b8b3d1..26b441f 100644 --- a/zsh/functions/motd.zsh +++ b/zsh/functions/motd.zsh @@ -122,7 +122,7 @@ _motd_docker() { _motd_git_repos() { # Check for uncommitted changes in common dirs local needs_push=0 - local dirs=("$HOME/.dotfiles" "$HOME/projects"/* "$HOME/work"/* 2>/dev/null) + local dirs=("$HOME/.dotfiles" "$HOME/projects" "$HOME/work") for dir in "${dirs[@]}"; do [[ -d "$dir/.git" ]] || continue