-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.fish
More file actions
43 lines (38 loc) · 1.5 KB
/
setup.fish
File metadata and controls
43 lines (38 loc) · 1.5 KB
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
#!/usr/bin/env fish
## 0. Manually install these first
## neovim
## kitty
## emacs
## fish
## tmux
## stow
## cmake
## gcc
## Nerd Font-link from starship(wget https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/SourceCodePro.zip)
## 1. Stow all symlinks
stow -t ~/ --adopt .
## 2. Fish Shell Plugins(source will create a fish function called "fisher")
#source <(curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish) && fisher install jorgebucaran/fisher
curl -sL https://raw.githubusercontent.com/jorgebucaran/fisher/main/functions/fisher.fish | source && fisher install jorgebucaran/fisher && fisher install jethrokuan/z
## 3. Tmux plugins(press prefix-I afterwards)
git clone https://github.com/tmux-plugins/tpm $HOME/.tmux/plugins/tpm
## 4. Install rust and some cargo packages for neovim/emacs/fish alias
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
~/.cargo/bin/cargo install ripgrep
~/.cargo/bin/cargo install fd
~/.cargo/bin/cargo install fd-find
~/.cargo/bin/cargo install exa
# make sure to install nerd font first
~/.cargo/bin/cargo install starship
## 5. Install fzf
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
## 6. Clean up for LazyVim
rm -rf ~/.config/nvim/.git
rm -rf ~/.local/share/nvim # seems to be where plugins are installed
rm -rf ~/.local/state/nvim
rm -rf ~/.cache/nvim
## 7. Install Doom Emacs
rm -rf ~/.emacs.d
git clone https://github.com/hlissner/doom-emacs ~/.emacs.d
~/.emacs.d/bin/doom install