|
@@ -2,9 +2,7 @@ |
|
|
|
|
|
|
|
|
# setup.sh --- 10sr setup script |
|
|
# setup.sh --- 10sr setup script |
|
|
|
|
|
|
|
|
__setups="gitconf tmux scripts darwin dirs" |
|
|
|
|
|
|
|
|
|
|
|
__setup_url="https://raw.github.com/10sr/dotfiles/master/setup.sh" |
|
|
|
|
|
|
|
|
__setups="gitconf tmux scripts darwin dirs selfupdate" |
|
|
|
|
|
|
|
|
__homelocal="$HOME/.local" |
|
|
__homelocal="$HOME/.local" |
|
|
__homevar="$HOME/.var" |
|
|
__homevar="$HOME/.var" |
|
@@ -53,6 +51,15 @@ __homevar="$__homevar" |
|
|
__EOC__ |
|
|
__EOC__ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
############################### |
|
|
|
|
|
# selfupdate |
|
|
|
|
|
|
|
|
|
|
|
__setup_url="https://raw.github.com/10sr/dotfiles/master/setup.sh" |
|
|
|
|
|
|
|
|
|
|
|
setup_selfupdate(){ |
|
|
|
|
|
curl $__setup_url |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
################################ |
|
|
################################ |
|
|
# git_configs |
|
|
# git_configs |
|
|
|
|
|
|
|
@@ -261,9 +268,9 @@ main(){ |
|
|
setup_$c |
|
|
setup_$c |
|
|
set +x |
|
|
set +x |
|
|
fi |
|
|
fi |
|
|
shift |
|
|
|
|
|
done |
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
shift |
|
|
done |
|
|
done |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|