-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·47 lines (35 loc) · 1.09 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
#! /bin/bash
brew install ripgrep fd bat exa fzf llvm nvim
cargo install exa
CONF_DIR="$( cd "$( dirname "$0" )" && pwd )"
# bash
unlink ${HOME}/.bash_profile
unlink ${HOME}/.bashrc
ln -s ${CONF_DIR}/bash/.bash_profile ${HOME}/.bash_profile
ln -s ${CONF_DIR}/bash/.bashrc ${HOME}/.bashrc
# git
# mv ${HOME}/.gitconfig ${HOME}/.gitconfig.bak
# mv ${HOME}/.gitignore_global ${HOME}/.gitignore_global.bak
# cp ${CONF_DIR}/git/.gitconfig ${HOEM}/.gitconfig
# cp ${CONF_DIR}/git/.gitignore_global ${HOEM}/.gitignore_global
# tmux
unlink ${HOME}/.tmux.conf
ln -s ${CONF_DIR}/tmux/.tmux.conf ${HOME}/.tmux.conf
# lldb
unlink ${HOME}/.lldbinit
ln -s ${CONF_DIR}/lldb/.lldbinit ${HOME}/.lldbinit
# alacritty
unlink ${HOME}/.config/alacritty
ln -s ${CONF_DIR}/alacritty ${HOME}/.config/alacritty
# nvim
unlink ${HOME}/.config/nvim
ln -s ${CONF_DIR}/nvim ${HOME}/.config/nvim
# vim
unlink ${HOME}/.vimrc
ln -s ${CONF_DIR}/vim/.vimrc ${HOME}/.vimrc
# zellij
unlink ${HOME}/.config/zellij
ln -s ${CONF_DIR}/zellij ${HOME}/.config/zellij
# kitty
unlink ${HOME}/.config/kitty
ln -s ${CONF_DIR}/kitty ${HOME}/.config/kitty