Skip to content

Commit

Permalink
Suppress most compilation output
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonrichert committed Dec 18, 2021
1 parent ca8956e commit cbbb63d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/.znap.compile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ while (( $#files[@] )); do
opt=R
fi

if emulate zsh -c "zcompile -U$opt -- ${(q)f}"; then
if emulate zsh -c "zcompile -U$opt -- ${(q)f}" && [[ $funcstack[2] == znap ]]; then
print -Pr -- "${(D)f:h}/%F{green}$f:t.zwc%f"
else
ret=1
Expand Down

0 comments on commit cbbb63d

Please sign in to comment.