-
Notifications
You must be signed in to change notification settings - Fork 2
/
symlink.sh
executable file
·36 lines (28 loc) · 980 Bytes
/
symlink.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
#! /bin/sh
#
# symlink.sh
# Copyright (C) 2018 Daniel Santiago <[email protected]>
#
# Distributed under terms of the GNU/GPL license.
DOTFILES=$HOME/.dotfiles
CONFIG=$HOME/.config
#mkdir -p $CONFIG/{matplotlib,nvim/{spell,templates,ultisnips},tmuxinator}
mkdir -p $CONFIG/nvim $HOME/.matplotlib
# latex
ln -sf $DOTFILES/latex/latexmkrc $HOME/.latexmkrc
# python
ln -sf $DOTFILES/python/condarc $HOME/.condarc
ln -sf $DOTFILES/python/matplotlibrc $HOME/.matplotlib/matplotlibrc
# shell
ln -sf $DOTFILES/shell/gitconfig $HOME/.gitconfig
ln -sf $DOTFILES/shell/zshrc $HOME/.zshrc
ln -sf $DOTFILES/shell/secrets $HOME/.secrets
ln -sf $DOTFILES/shell/starship.toml $CONFIG/starship.toml
# vim
ln -sf $DOTFILES/vim/init.vim $CONFIG/nvim/init.vim
ln -sf $DOTFILES/vim/spell $CONFIG/nvim/
ln -sf $DOTFILES/vim/templates $CONFIG/nvim/
ln -sf $DOTFILES/vim/ultisnips $CONFIG/nvim/
# tmux
ln -sf $DOTFILES/tmux/tmux.conf $HOME/.tmux.conf
ln -sf $DOTFILES/tmux/tmuxinator $CONFIG/