-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·34 lines (28 loc) · 1.19 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
#!/bin/bash
set -e
# Bootstrap shellboost.
if [[ ! -f $SHELLBOOST/libsh/include.sh && -r ${0%/*}/libsh/include.sh ]]; then
export SHELLBOOST="${0%/*}"
fi
. "$SHELLBOOST/libsh/include.sh" || exit $?
__shellboost_include libsh/script.sh || exit $?
__shellboost_include libsh/install.sh || exit $?
if [ "$SHELLBOOST" != "$here" ]; then
runf export SHELLBOOST="$here"
fi
parse_command_line "$@"
runf cd "${HOME?}"
link "$SHELLBOOST/env/bash_profile" .bash_profile
link "$SHELLBOOST/env/bashrc" .bashrc
link "$SHELLBOOST/env/gitconfig" .gitconfig
link "$SHELLBOOST/env/gitexclude" .gitexclude
link "$SHELLBOOST/env/hgrc" .hgrc
link "$SHELLBOOST/env/profile" .profile
link "$SHELLBOOST/env/setpath" .setpath
link "$SHELLBOOST/env/xsessionrc" .xsessionrc
link "$SHELLBOOST/env/XCompose" .XCompose
link "$SHELLBOOST/env/init.vim" .config/nvim/init.vim
link "$SHELLBOOST/env/init.vim" .vimrc
link "$SHELLBOOST/env/openbox_rc.xml" .config/openbox/rc.xml
link "$SHELLBOOST/env/openbox_environment" .config/openbox/environment
link "$SHELLBOOST/env/tmate.conf" .tmate.conf