scripts: formatting, x-thumbgen, imagick installer

This commit is contained in:
2023-04-13 16:31:39 +03:00
parent 38a6f6f8e4
commit 268fd35bdb
4 changed files with 54 additions and 6 deletions

View File

@@ -30,6 +30,7 @@ function section_install
$0 brew install
$0 install composer
$0 install dotenv-linter
$0 install imagick
$0 install nvm
$0 install npm
$0 install ntfy
@@ -49,6 +50,10 @@ function section_install
| sh -s -- -b "$XDG_BIN_HOME" \
&& msg_done "🎉 dotenv-linter installed!"
;;
imagick)
wget https://imagemagick.org/archive/binaries/magick > "$XDG_BIN_HOME/magick" \
&& msg_done "🎉 imagick installed!"
;;
starship)
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir ~/.local/bin \
&& msg_done "🎉 starship installed!"
@@ -76,11 +81,12 @@ function section_install
&& msg_done "🎉 Z has been installed!"
;;
*)
menu_section "$USAGE_PREFIX" "all | antigen | composer | dotenv-linter | starship | macos | nvm | npm"
menu_section "$USAGE_PREFIX" "all | antigen | composer | dotenv-linter | imagick | starship | macos | nvm | npm"
menu_item "all" "Installs macos defaults, antigen, starship, brew, nvm, npm packages and others"
menu_item "antigen" "Updates the antigen.zsh file"
menu_item "composer" "Install composer"
menu_item "dotenv-linter" "Install dotenv-linter"
menu_item "imagick" "Install ImageMagick CLI"
menu_item "starship" "Install starship.rs"
menu_item "macos" "Setup nice macOS defaults"
menu_item "nvm" "Install Node Version Manager (nvm)"