dotfiles/tools/macos.sh

21 lines
405 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
THIS_DIR=$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd )
source "$THIS_DIR/common.sh"
brew_install()
{
# brew update
2023-07-29 16:10:52 +08:00
brew install git zsh curl tmux vim util-linux coreutils
}
router()
{
case $1 in
brew-install ) brew_install ;;
* ) echo unknown command \"$1\". available: brew-install;;
esac
}
router "${GOT_OPTS[@]}"