From 4f2fd3cfd63a94988449c0332bd714a60b8dc391 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 3 Apr 2023 11:15:08 +0300 Subject: [PATCH] Merge --- local/bin/dfm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/local/bin/dfm b/local/bin/dfm index 490d1ab..4d659f6 100755 --- a/local/bin/dfm +++ b/local/bin/dfm @@ -29,6 +29,7 @@ function section_install $0 install starship $0 brew install $0 install composer + $0 install dotenv-linter $0 install nvm $0 install npm $0 install ntfy @@ -42,6 +43,12 @@ function section_install bash "$DOTFILES/scripts/install-composer.sh" \ && msg_done "🎉 composer installed!" ;; + dotenv-linter) + curl -sSfL \ + https://raw.githubusercontent.com/dotenv-linter/dotenv-linter/master/install.sh \ + | sh -s -- -b "$XDG_BIN_HOME" \ + && msg_done "🎉 dotenv-linter installed!" + ;; starship) curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir ~/.local/bin \ && msg_done "🎉 starship installed!" @@ -69,10 +76,11 @@ function section_install && msg_done "🎉 Z has been installed!" ;; *) - menu_section "$USAGE_PREFIX" "all | antigen | composer | starship | macos | nvm | npm" - menu_item "all" "Installs macos defaults, antigen, starship, brew, nvm and npm packages" + menu_section "$USAGE_PREFIX" "all | antigen | composer | dotenv-linter | 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 "starship" "Install starship.rs" menu_item "macos" "Setup nice macOS defaults" menu_item "nvm" "Install Node Version Manager (nvm)"