-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathupdate.sh
More file actions
executable file
·59 lines (58 loc) · 934 Bytes
/
update.sh
File metadata and controls
executable file
·59 lines (58 loc) · 934 Bytes
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
#!/bin/bash
function bash
{
echo taking backup of bashrc
cp ~/.bashrc bash/bashrc
}
function zsh
{
echo taking backup of zshrc
cp ~/.zshrc zsh/zshrc
cp ~/.zprofile zsh/zprofile
}
function xinit
{
echo taking backup of xinitrc
cp ~/.xinitrc xinit/xinitrc
}
function conky
{
echo taking backup of conky config
rm -rf conky/conky
cp -r ~/.conky conky/conky
cp ~/.conkyrc conky/conkyrc
}
function xmonad
{
echo taking backup of xmonad config
cp ~/.xmonad/xmonad.hs xmonad/xmonad.hs
}
function vim
{
echo taking backup of vim config
rm -rf vim/vim
cp -r ~/.vim vim/vim
cp ~/.vimrc vim/vimrc
}
function openbox
{
echo taking backup of openbox config
cp -r ~/.config/openbox openbox
}
function x
{
echo taking backup of Xdefaults
cp ~/.Xdefaults x/Xdefaults
}
function all
{
bash
zsh
xinit
xmonad
vim
openbox
conky
x
}
$1