Minor change
This commit is contained in:
10
brew-list.sh
10
brew-list.sh
@@ -2,7 +2,7 @@
|
||||
|
||||
if [ "$1" == "-h" ]; then
|
||||
echo "Create Homebrew 's packages and Casks installed list:"
|
||||
echo " a brew-install.sh script is created next to this script."
|
||||
echo " a brew-install.sh script is created next to this script..."
|
||||
echo
|
||||
echo "USAGE: brew-list [-p]"
|
||||
echo
|
||||
@@ -21,12 +21,12 @@ echo "toto"
|
||||
|
||||
echo -e "\033[1m bold \033[0m"
|
||||
echo -e "\033[3m italic \033[0m"
|
||||
echo -e "\033[1;3;31m Red bold+italic \033[0m"
|
||||
echo -e "\033[4m underline \033[0m"
|
||||
echo -e "\033[1;3;31m Red bold+italic \033[0m"
|
||||
echo -e "\033[9m strikethrough \033[0m"
|
||||
echo -e "\033[31m Red World \033[0m"
|
||||
echo -e "\033[32m Green World \033[0m"
|
||||
echo -e "\033[93m Yellow World \033[0m"
|
||||
echo -e "\033[32m Green World \033[0m"
|
||||
COMMENT
|
||||
|
||||
|
||||
@@ -43,11 +43,11 @@ echo -e "🍺 Get Homebrew \033[3m\033[93mpackages\033[0m installed list"
|
||||
brew list | sed -e 's/^/brew install /' >> brew-install.sh
|
||||
|
||||
if [ "$1" != "-p" ]; then
|
||||
echo -e "\n# Some cask packages that I like.\n" >> brew-install.sh
|
||||
echo -e "\n# Some casks packages that I like.\n" >> brew-install.sh
|
||||
echo -e "🍺 Get Homebrew \033[3m\033[93mCask\033[0m installed list"
|
||||
brew cask list | sed -e 's/^/brew cask install /' >> brew-install.sh
|
||||
fi
|
||||
|
||||
chmod +x brew-install.sh
|
||||
|
||||
terminal-notifier -title 'brew-list' -message 'Liste packages & casks créee !' -sound 'Glass'
|
||||
terminal-notifier -title 'brew-list' -message 'Packages & casks list created !' -sound 'Glass'
|
||||
|
||||
Reference in New Issue
Block a user