Update bootstrap-user.sh

This commit is contained in:
Tobias Schmidl 2021-02-23 08:22:10 +00:00
parent 59573e00ac
commit b44c1636d2

View file

@ -3,7 +3,7 @@
set -e set -e
TMPDIR=$(mktemp -u -p "$HOME" -d dotfiles.XXXXX) && \ TMPDIR=$(mktemp -u -p "$HOME" -d dotfiles.XXXXX) && \
git clone --separate-git-dir="$HOME/.cfg" https://github.com/schtobia/dotfiles.git "$TMPDIR" && \ git clone --separate-git-dir="$HOME/.cfg" https://gitlab.com/schtobia/dotfiles.git "$TMPDIR" && \
[ -r "$TMPDIR/.gitmodules" ] && cp -vi "$TMPDIR/.gitmodules" "$HOME" [ -r "$TMPDIR/.gitmodules" ] && cp -vi "$TMPDIR/.gitmodules" "$HOME"
[ -d "$HOME/.cfg" ] && \ [ -d "$HOME/.cfg" ] && \
git --git-dir="$HOME/.cfg/" --work-tree="$HOME" config status.showUntrackedFiles no && \ git --git-dir="$HOME/.cfg/" --work-tree="$HOME" config status.showUntrackedFiles no && \
@ -12,7 +12,7 @@ TMPDIR=$(mktemp -u -p "$HOME" -d dotfiles.XXXXX) && \
git --git-dir="$HOME/.cfg/" --work-tree="$HOME" submodule update --init --remote --recursive --rebase) git --git-dir="$HOME/.cfg/" --work-tree="$HOME" submodule update --init --remote --recursive --rebase)
rm -rf "$TMPDIR" rm -rf "$TMPDIR"
pip install --user -r https://github.com/schtobia/bootstrap/raw/master/requirements.txt pip install --user -r https://gitlab.com/schtobia/bootstrap/raw/master/requirements.txt
# vim related # vim related
npm install -g instant-markdown-d && \ npm install -g instant-markdown-d && \