auto-shellcheck and shfmt at the script end
parent
a57c555a3d
commit
2ea9a291c4
|
@ -116,7 +116,7 @@ if [ ! -e /Applications/WezTerm.app ]; then
|
|||
install_latest_wezterm
|
||||
else
|
||||
current_wezterm=$(/Applications/WezTerm.app/Contents/MacOS/wezterm -V | awk '{print $2}')
|
||||
if ! echo $LATEST_WEZTERM | grep "$current_wezterm"; then
|
||||
if ! echo "$LATEST_WEZTERM" | grep "$current_wezterm" >/dev/null; then
|
||||
install_latest_wezterm
|
||||
fi
|
||||
fi
|
||||
|
@ -319,3 +319,6 @@ install_typst() {
|
|||
}
|
||||
|
||||
[ -e "/usr/local/bin/typst" ] || install_typst
|
||||
|
||||
shellcheck "$0" || exit 1
|
||||
shfmt -i 2 -d -s "$0"
|
||||
|
|
Loading…
Reference in New Issue