-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup-term.mac.sh
executable file
·57 lines (45 loc) · 1.76 KB
/
setup-term.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
#!/bin/sh
# Install GNU CoreUtils
brew install coreutils
echo 'PATH="$HOMEBREW_PREFIX/opt/coreutils/libexec/gnubin:$PATH"' >> $HOME/.zprofile
echo 'MANPATH="$HOMEBREW_PREFIX/opt/coreutils/libexec/gnuman:$MANPATH"' >> $HOME/.zprofile
# Install term dependencies
brew install starship
# Install antidote
git clone --depth=1 https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote
# Setup ZSH
ln -s $HOME/dotfiles/zshrc $HOME/.zshrc
ln -s $HOME/dotfiles/zsh_alias $HOME/.zsh_alias
ln -s $HOME/dotfiles/zsh.pencil $HOME/.zsh.theme
ln -s $HOME/dotfiles/dircolors-light $HOME/.dircolors
ln -s $HOME/dotfiles/zsh_plugins.txt $HOME/.zsh_plugins.txt
touch $HOME/.zsh_secret
source $HOME/.zshrc
# Starship
mkdir -p $HOME/.config && ln -s $HOME/dotfiles/starship.toml $HOME/.config/starship.toml
# Setup Fonts
brew tap homebrew/cask-fonts
brew install font-jetbrains-mono-nerd-font
# Setup Kitty
brew install kitty
mkdir -p $HOME/.config/kitty && ln -s $HOME/dotfiles/kitty.conf $HOME/.config/kitty/kitty.conf
ln -s $HOME/dotfiles/kitty-font-jetbrains-nf.conf $HOME/.config/kitty/fonts.conf
ln -s /Users/dumitrv/dotfiles/kitty-modus-operandi.conf $HOME/.config/kitty/colors.conf
# Setup TMUX
brew install tmux
ln -s $HOME/dotfiles/tmux.conf $HOME/.tmux.conf
ln -s $HOME/dotfiles/tmux-osx.conf $HOME/.tmux-osx.conf
ln -s /Users/dumitrv/dotfiles/tmux-modus-operandi.conf $HOME/.tmux-colors.conf
git clone https://github.com/tmux-plugins/tpm $HOME/.tmux/plugins/tpm
tic -x $HOME/dotfiles/tmux-256color.terminfo
# Setup FZF
brew install fzf
/opt/homebrew/opt/fzf/install
# Setup FD
brew install fd
# Setup Bat
brew install bat
mkdir -p $HOME/.config/bat/themes
ln -s $HOME/dotfiles/bat-theme-modus-operandi.tmTheme $HOME/.config/bat/themes
# Setup source-highlight
brew install source-highlight