-
Notifications
You must be signed in to change notification settings - Fork 1
/
create_links
executable file
·31 lines (23 loc) · 1.09 KB
/
create_links
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
#!/bin/bash
CONFIG_DIR=${HOME}/.myconfig
ln -sv ${CONFIG_DIR}/bash/bashrc ${HOME}/.bashrc
ln -sv ${CONFIG_DIR}/bash/bashrc_local ${HOME}/.bashrc_local
ln -sv ${CONFIG_DIR}/bash/aliases ${HOME}/.bash_aliases
ln -sv ${CONFIG_DIR}/bash/profile ${HOME}/.bash_profile
ln -sv ${CONFIG_DIR}/bash/logout ${HOME}/.bash_logout
ln -sv ${CONFIG_DIR}/bash/vim_bash_env ${HOME}/.vim_bash_env
ln -sv ${CONFIG_DIR}/readline_inputrc ${HOME}/.inputrc
ln -sv ${CONFIG_DIR}/gitconfig ${HOME}/.gitconfig
ln -sv ${CONFIG_DIR}/gitignore ${HOME}/.gitignore
ln -sv ${CONFIG_DIR}/flake8 ${HOME}/.config/flake8
# I used this for tags but I don't use tags anymore
# echo "git config --global init.templatedir '~/.git_template'"
# git config --global init.templatedir '~/.git_template'
# ln -sv ${CONFIG_DIR}/git_template ${HOME}/.git_template
ln -sv ${CONFIG_DIR}/sshconfig ${HOME}/.ssh/config
ln -sv ${CONFIG_DIR}/tmux/tmux.conf ${HOME}/.tmux.conf
# This is broken
ln -sv ${CONFIG_DIR}/nvim ${XDG_CONFIG_HOME}
mkdir -p ${HOME}/.gap
ln -sv ${CONFIG_DIR}/gap/gap.ini ${HOME}/.gap/gap.ini
ln -sv ${CONFIG_DIR}/gap/gaprc ${HOME}/.gap/gaprc