-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·90 lines (87 loc) · 1.61 KB
/
install.sh
File metadata and controls
executable file
·90 lines (87 loc) · 1.61 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#!/bin/bash
function bash
{
echo installing bashrc
ln -f -s `pwd`/bash/bashrc ~/.bashrc
}
function zsh
{
echo installing zsh configs
ln -f -s `pwd`/zsh/zshrc ~/.zshrc
ln -f -s `pwd`/zsh/zprofile ~/.zprofile
ln -f -s `pwd`/zsh/zsh_functions ~/.zsh_functions
ln -f -s `pwd`/zsh/zsh_alias ~/.zsh_alias
ln -f -s `pwd`/zsh/zsh_alias_debian ~/.zsh_alias_debian
}
function xinit
{
echo installing xinitrc
ln -f -s `pwd`/xinit/xinitrc ~/.xinitrc
}
function conky
{
echo installing conky config
ln -f -s `pwd`/conky/conky/ ~/.conky
ln -f -s `pwd`/conky/conky/running/conkyrc ~/.conkyrc
}
function xmonad
{
echo installing xmonad config
mkdir -p ~/.xmonad
ln -f -s `pwd`/xmonad/xmonad.hs ~/.xmonad/xmonad.hs
}
function vim
{
echo installing vim config
ln -f -s `pwd`/vim/vim ~/.vim
ln -f -s `pwd`/vim/vimencrypte ~/.vimencrypt
ln -f -s `pwd`/vim/vimrc ~/.vimrc
}
function openbox
{
echo installing openbox config
mkdir -p ~/.config
ln -f -s `pwd`/openbox/openbox ~/.config/
}
function tint2
{
echo installing tint2 config
mkdir -p ~/.config
ln -f -s `pwd`/tint2 ~/.config/
}
function x
{
echo installing Xresources
ln -f -s `pwd`/x/Xresources ~/.Xresources
}
function gdb
{
echo installing gdb config
ln -f -s `pwd`/gdb/gdbinit ~/.gdbinit
}
function mc
{
echo installing midnight commander config
ln -f -s `pwd`/mc ~/.mc
}
function screen
{
echo installing GNU screen config
ln -f -s `pwd`/screen/screenrc ~/.screenrc
}
function all
{
bash
zsh
xinit
conky
xmonad
vim
gdb
openbox
tint2
x
mc
screen
}
$1