Added make private
This commit is contained in:
parent
d3926e346e
commit
ec09df9b64
4
Makefile
4
Makefile
|
@ -3,3 +3,7 @@ install:
|
|||
|
||||
update:
|
||||
./install.zsh update
|
||||
|
||||
private:
|
||||
./install.zsh private
|
||||
6
|
|
@ -6,6 +6,8 @@ Run `make install` or `./install.zsh` to install the dotfiles. Run `make update`
|
|||
|
||||
Some dotfiles contains sensitive informationen (e.g. Credentials) you don't want to share in public git repos. Therefore you can create an folder named `private` to check out a private git repo there including all you sensitive files. This folder will not be included in the public repo.
|
||||
|
||||
You can use `make private` to clone your private dotfile repo.
|
||||
|
||||
## tmux
|
||||
|
||||
### Plugin and Theme Installation
|
||||
|
|
|
@ -40,6 +40,15 @@ tools=(
|
|||
GIT_ROOT=$(git rev-parse --show-toplevel)
|
||||
cd ${GIT_ROOT}
|
||||
|
||||
if [[ ${1} == "private" ]]; then
|
||||
echo "Setting up private repo"
|
||||
echo -n "Please provide your private Git-Repo URL: "
|
||||
read repo
|
||||
cd ${GIT_ROOT}
|
||||
git clone ${repo} private
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ ${1} == "update" ]]; then
|
||||
echo "Updating repos"
|
||||
if [[ -d ${GIT_ROOT}/private/ ]]; then
|
||||
|
|
Loading…
Reference in New Issue