-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.sh
executable file
·52 lines (41 loc) · 1.75 KB
/
setup.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
#!/bin/sh
git clone --depth 1 https://github.com/bluz71/bash-seafly-prompt ~/.bash-seafly-prompt
cd ~
ln -s dotfiles/bash_profile .bash_profile
ln -s dotfiles/bashrc .bashrc
ln -s dotfiles/gitconfig .gitconfig
ln -s dotfiles/gvimrc .gvimrc
ln -s dotfiles/inputrc .inputrc
ln -s dotfiles/pryrc .pryrc
ln -s dotfiles/tmux.conf .tmux.conf
ln -s dotfiles/vim/ .vim
ln -s dotfiles/vimrc .vimrc
ln -s ~/dotfiles/nvim/ .config/nvim
mkdir -p .local/share/bash-completion
ln -s ~/dotfiles/completions .local/share/bash-completion
ln -s ~/dotfiles/fish/ .config/fish
mkdir -p scripts
ln -s ~/dotfiles/git-bvv scripts/git-bvv
ln -s ~/dotfiles/git-vdiff scripts/git-vdiff
ln -s dotfiles/linter_configs/mdlrc .mdlrc
mkdir -p .config/yamllint
ln -s ~/dotfiles/linter_configs/yamllint .config/yamllint/config
mkdir -p .config/navi
ln -s ~/dotfiles/misc/navi.yaml .config/navi/config.yaml
mkdir -p .config/alacritty
if [ "$(uname)" = Linux ]; then
mkdir -p .config/fontconfig
ln -s ~/dotfiles/misc/fonts.conf .config/fontconfig/fonts.conf
ln -s ~/dotfiles/terminal_configs/Xresources .Xresources
ln -s ~/dotfiles/terminal_configs/alacritty_linux.toml .config/alacritty/alacritty.toml
mkdir -p .config/lazygit
ln -s ~/dotfiles/lazygit/config.yml .config/lazygit/config.yml
mkdir -p .config/inlyne
ln -s ~/dotfiles/misc/inlyne.toml .config/inlyne/inlyne.toml
elif [ "$(uname)" = Darwin ]; then
ln -s ~/dotfiles/terminal_configs/alacritty_macos.toml .config/alacritty/alacritty.toml
mkdir -p Library/Application\ Support/lazygit
ln -s ~/dotfiles/lazygit/config.yml Library/Application\ Support/lazygit/config.yml
mkdir -p Library/Application\ Support/inlyne
ln -s ~/dotfiles/misc/inlyne.toml Library/Application\ Support/inlyne/inlyne.toml
fi