-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
35 lines (30 loc) · 1.3 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
#!/usr/bin/env bash
echo ""
echo ' 88 ad88 88 88 '
echo ' 88 ,d d8" "" 88 '
echo ' 88 88 88 88 '
echo ' ,adPPYb,88 ,adPPYba, MM88MMM MM88MMM 88 88 ,adPPYba, ,adPPYba,'
echo 'a8" `Y88 a8" "8a 88 88 88 88 a8P_____88 I8[ ""'
echo '8b 88 8b d8 88 88 88 88 8PP""""""" `"Y8ba, '
echo '"8a, ,d88 "8a, ,a8" 88, 88 88 88 "8b, ,aa aa ]8I'
echo ' `"8bbdP"Y8 `"YbbdP"` "Y888 88 88 88 `"Ybbd8"` `"YbbdP" '
echo ""
echo ""
DOTFILES_DIR="$( cd "$(dirname "$0")" ; pwd -P )"
link() {
echo "Linking $1 to $2"
ln -sf $1 $2
}
mkdir -p $HOME/.config/fish
link $DOTFILES_DIR/.config/fish/config.fish $HOME/.config/fish/config.fish
link $DOTFILES_DIR/.vim $HOME/.vim
link $DOTFILES_DIR/.gitconfig $HOME/.gitconfig
link $DOTFILES_DIR/.gitmessage $HOME/.gitmessage
link $DOTFILES_DIR/.irbrc $HOME/.irbrc
link $DOTFILES_DIR/.tmux.conf $HOME/.tmux.conf
link $DOTFILES_DIR/.vimrc $HOME/.vimrc
link $DOTFILES_DIR/.alacritty.yml $HOME/.alacritty.yml
link $DOTFILES_DIR/.curlrc $HOME/.curlrc
echo "Done..."
echo "All dotfiles are now linked, your are good to go"
echo ""