mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 16:47:02 +08:00
Dict Xiong
483f7fd7f3
* auth: add .eid/authorized_certificates for pam pkcs11 auth * .zshrc: alias sl for sudo zsh -l * to-install: nix * zshrc: use gnu ls on mac * zshrc: try to use gnu-ls * try to fix ci for macos * riot: add domain box[0-9] * riot: shortcuts i,x,j * .zshrc: warn if not in main channel * sagt: reset agent so paths * sagt: import ssh-agent -P paths * common.sh: is_port_free and get_free_port * riot use get_free_port to fix issue on windows * riot: ssh support instant command * riot: proxy delimiter from comma (,) to slash (/) * riot: support multiple remotes, delimiter=comma (,) * riot: fix ci; install.sh: --no-ssh * riot: improve ci --------- Co-authored-by: xiongdian.me <xiongdian.me@bytedance.com>
21 lines
405 B
Bash
Executable File
21 lines
405 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
THIS_DIR=$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd )
|
|
source "$THIS_DIR/common.sh"
|
|
|
|
brew_install()
|
|
{
|
|
# brew update
|
|
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[@]}"
|