Compare commits

...

2 commits

Author SHA1 Message Date
1513f469ba changed URLs to git.schmidl.dev 2023-07-25 08:43:24 +02:00
41e6ba9e71 bootstrap-root: removed old junk 2023-07-25 08:38:59 +02:00
3 changed files with 5 additions and 23 deletions

View file

@ -27,7 +27,6 @@ apt-get update \
man \ man \
mc \ mc \
neovim \ neovim \
nodeenv \
python3 \ python3 \
python3-jedi \ python3-jedi \
python3-neovim \ python3-neovim \
@ -43,23 +42,12 @@ apt-get update \
python3-pipx \ python3-pipx \
&& apt-file update && apt-file update
# node related
# shellcheck disable=SC2086
curl $CURLOPT https://deb.nodesource.com/setup_14.x | bash -
apt-get install -y nodejs
# python3 related
# shellcheck disable=SC2086
curl $CURLOPT https://bootstrap.pypa.io/get-pip.py | python3
pip install pipx
[ ! -x "$(which exa)" ] && cargo install --root /usr/local --git https://github.com/ogham/exa --tag v0.10.1 [ ! -x "$(which exa)" ] && cargo install --root /usr/local --git https://github.com/ogham/exa --tag v0.10.1
cargo install --root /usr/local --git https://github.com/mookid/diffr cargo install --root /usr/local --git https://github.com/mookid/diffr
# shellcheck disable=SC2086 # shellcheck disable=SC2086
curl $CURLOPT -o /usr/local/sbin/cleanup.sh https://gist.github.com/schtobia/f02deeaf2fd20b23ae9fcf0f451cc858/raw/cleanup.sh \ curl $CURLOPT -o /usr/local/sbin/cleanup.sh https://git.schmidl.dev/schtobia/bootstrap/raw/branch/master/cleanup/cleanup.sh \
&& chmod u+x /usr/local/sbin/cleanup.sh && chmod u+x /usr/local/sbin/cleanup.sh
# diff-highlight from git is necessary for tig # diff-highlight from git is necessary for tig

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://gitlab.com/schtobia/dotfiles.git "$TMPDIR" && \ git clone --separate-git-dir="$HOME/.cfg" https://git.schmidl.dev/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,13 +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://gitlab.com/schtobia/bootstrap/raw/master/requirements.txt && pip install --user -r https://git.schmidl.dev/schtobia/bootstrap/raw/branch/master/requirements.txt &&
#for package in \
# kas \
# pylint;
#do
# pipx install $package
#done
# vim related # vim related
nvim +PluginInstall +UpdateRemotePlugins +qall nvim +PluginInstall +UpdateRemotePlugins +qall

View file

@ -5,10 +5,10 @@ CURLOPT=${CURLOPT:-"--location --remote-time --remote-name --show-error --silent
# root part # root part
# shellcheck disable=SC2086 # shellcheck disable=SC2086
curl $CURLOPT https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-root.sh \ curl $CURLOPT https://git.schmidl.dev/schtobia/bootstrap/raw/branch/master/bootstrap-root.sh \
&& chmod +x bootstrap-root.sh && chmod +x bootstrap-root.sh
# userspace part # userspace part
# shellcheck disable=SC2086 # shellcheck disable=SC2086
curl $CURLOPT https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-user.sh \ curl $CURLOPT https://git.schmidl.dev/schtobia/bootstrap/raw/branch/master/bootstrap-user.sh \
&& chmod +x bootstrap-user.sh && chmod +x bootstrap-user.sh