-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·34 lines (22 loc) · 899 Bytes
/
install.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
#!/bin/bash
# Setup for the terminal and coding environment.
yay -Syy --noconfirm
yay -S kitty neovim zsh git tmux tmux-plugin-manager bat eza yazi --noconfirm
mv ~/.zshrc ~/.zshrc.bak
ln -s "$(pwd)/zshrc" ~/.zshrc
# symlink kitty nvim tmux inside .config
ln -s "$(pwd)/.tmuxifier-alias.zsh" ~/.tmuxifier-alias.zsh
ln -s "$(pwd)/.czrc" ~/.czrc
## INFO: czrc requires commitizen and cz-git so install later with npm
mv ~/.config/kitty ~/.config/kitty.bak
ln -s "$(pwd)/kitty" ~/.config/kitty
mv ~/.config/nvim ~/.config/nvim.bak
ln -s "$(pwd)/nvim" ~/.config/nvim
mv ~/.config/tmux ~/.config/tmux.bak
mkdir ~/.config/tmux
ln -s "$(pwd)/tmux.conf" ~/.config/tmux/
mv ~/.config/lazygit ~/.config/lazygit.bak
ln -s "$(pwd)/lazygit" ~/.config/lazygit
mv ~/.config/yazi ~/.config/yazi.bak
ln -s "$(pwd)/yazi" ~/.config/yazi
echo "czrc requires commitizen and cz-git so install later with npm"