-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.sh
46 lines (35 loc) · 907 Bytes
/
run.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
#!/bin/bash
echo "COPY"
echo "- folders"
cp -r vim-snippets ~/.vim/vim-snippets
echo "- dotfiles"
cp ~/repos/dotfiles/vimrc ~/.vimrc &>/dev/null
cp ~/repos/dotfiles/tmux.conf ~/.tmux.conf
cp ~/repos/dotfiles/bashrc ~/.bashrc
echo
echo "REFRESH"
echo "- vimrc"
source ~/.vimrc &>/dev/null
echo "- tmux.conf"
if ! [ -z "$TMUX" ]; then
tmux source-file ~/.tmux.conf
fi
echo "- bashrc"
source ~/.bashrc
echo "- composer"
cp ~/repos/dotfiles/composer.json ~/.composer/composer.json
echo "- gitconfig"
cp ~/repos/dotfiles/gitconfig ~/.gitconfig
echo "- inputrc"
cp ~/repos/dotfiles/inputrc ~/.inputrc
source ~/.inputrc
echo "- termux"
mkdir -p ~/.termux
cp ~/repos/dotfiles/termux ~/.termux/termux.properties
termux-reload-settings &>/dev/null
echo "- tmuxinator"
mkdir -p ~/.config
mkdir -p ~/.config/tmuxinator
cp ~/repos/dotfiles/hafah.yml ~/.config/tmuxinator/hafah.yml
echo
echo "CLOSING..."