-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.sh
23 lines (16 loc) · 881 Bytes
/
init.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap daipeihust/tap
brew install wget llvm bat jq neovim ripgrep fd wezterm antigen starship git-delta eza im-select fnm
brew install --cask cmake font-hack-nerd-font visual-studio-code rectangle maccy
git clone [email protected]:xusd320/xsh.git
ln -s ~/xsh/wezterm ~/.config/wezterm
ln -s ~/xsh/zshrc ~/.zshrc
ln -s ~/xsh/starship.toml ~/.config/starship.toml
ln -s ~/xsh/gitconfig ~/.gitconfig
ln -s ~/xsh/lazygit ~/.config/lazygit
ln -s ~/xsh/nvim ~/.config/nvim
sudo chown -R $(whoami) /usr/local/bin
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo xcode-select -switch /Library/Developer/CommandLineTools
brew install tabbyml/tabby/tabby
nohup tabby serve --device metal --model TabbyML/StarCoder2-7B --host 127.0.0.1 --port 8080 >~/.tabby/tabby.log &