make-brew-installer.sh
-ajout de la liste des tap (brew tap) -ajout des applis du mas
This commit is contained in:
@@ -82,6 +82,10 @@ else
|
||||
fi
|
||||
' >> brew-install.sh
|
||||
|
||||
echo -e "\n# Brew tap list.\n" >> brew-install.sh
|
||||
echo -e "🍺 Get Homebrew \033[3m\033[93mtap\033[0m list"
|
||||
brew tap | sed -e 's/^/brew tap /' >> brew-install.sh
|
||||
|
||||
echo -e "\n# Brew packages that I use alot.\n" >> brew-install.sh
|
||||
echo -e "🍺 Get Homebrew \033[3m\033[93mpackages\033[0m installed list"
|
||||
brew list | sed -e 's/^/brew install /' >> brew-install.sh
|
||||
@@ -92,6 +96,10 @@ if [ "$1" != "-p" ]; then
|
||||
brew cask list | sed -e 's/^/brew cask install /' >> brew-install.sh
|
||||
fi
|
||||
|
||||
echo -e "\n# Mac App Store applications list.\n" >> brew-install.sh
|
||||
echo -e "🍏 Get Mac App Store \033[3m\033[93mapplications\033[0m list"
|
||||
mas list | awk '{print $1}' | sed -e 's/^/mas install /' >> brew-install.sh
|
||||
|
||||
chmod +x brew-install.sh
|
||||
|
||||
terminal-notifier -title 'brew-list' -message 'Packages & casks list created !' -sound 'Glass'
|
||||
|
||||
Reference in New Issue
Block a user