This website requires JavaScript.
Explore
Help
Register
Sign In
psi-jack
/
zimfw
Watch
1
Star
0
Fork
You've already forked zimfw
0
mirror of
synced
2024-06-01 14:51:11 -04:00
Code
Issues
Releases
Wiki
Activity
6129062139
zimfw
/
src
/
stage2
/
22_zimfw_print.zsh.erb
6 lines
75 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Refactor: extract _zimfw_print function
2020-01-09 07:13:31 -05:00
_zimfw_print() {
Add `-v` (verbose) option so the normal output is focused on the given action, and output for additional steps perfomed after the given action is only shown in verbose mode. Also, the output of wget is only shown in verbose mode. This is because wget always shows some output (to stderr) even when there are no errors. See https://serverfault.com/q/70889/302338 This should give a friendlier output. See #360
2020-01-11 16:23:11 -05:00
if (( _zprintlevel > 0 )); then
Refactor: extract _zimfw_print function
2020-01-09 07:13:31 -05:00
print "${@}"
fi
}
Reference in a new issue
Copy permalink