-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdotlinks.sh
executable file
·66 lines (46 loc) · 1.11 KB
/
dotlinks.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/bin/bash
# this is to be run at $HOME
DOTDIR='/home/quesada/Dropbox/dotfiles'
mkdir -p $DOTDIR
# not using a loop since we may want to comment out parts
# dirs
#cd $HOME
#mkdir -p $DOTDIR/.config
#mv $HOME/.config/xfce4 $DOTDIR/.config
#cd $HOME/.config
#ln -s $DOTDIR/.config/xfce4 $HOME/.config/
# all others are in home so:
cd $HOME
mv $HOME/.fonts $DOTDIR/
ln -s $DOTDIR/.fonts
mv $HOME/.kde4 $DOTDIR/
ln -s $DOTDIR/.kde4
mv $HOME/.mc $DOTDIR/
ln -s $DOTDIR/.mc
mv $HOME/.xmonad $DOTDIR/
ln -s $DOTDIR/.xmonad
mv $HOME/.lyx $DOTDIR/
ln -s $DOTDIR/.lyx
mv $HOME/.weechat $DOTDIR/
ln -s $DOTDIR/.weechat
# files
mv $HOME/.Xdefaults $DOTDIR/
ln -s $DOTDIR/.Xdefaults
mv $HOME/.bashrc $DOTDIR/
ln -s $DOTDIR/.bashrc
mv $HOME/.cola $DOTDIR/
ln -s $DOTDIR/.cola
mv $HOME/.gitconfig $DOTDIR/
ln -s $DOTDIR/.gitconfig
mv $HOME/.hgrc $DOTDIR/
ln -s $DOTDIR/.hgrc
mv $HOME/.vimperatorrc $DOTDIR/
ln -s $DOTDIR/.vimperatorrc
mv $HOME/.vimrc $DOTDIR/
ln -s $DOTDIR/.vimrc
mv $HOME/.xinitrc $DOTDIR/
ln -s $DOTDIR/.xinitrc
mv $HOME/.xmobarrc $DOTDIR/
ln -s $DOTDIR/.xmobarrc
mv $HOME/.zshrc $DOTDIR/
ln -s $DOTDIR/.zshrc