Compare commits
No commits in common. "1513f469ba155565c6aa95e1c78b1b4aa1d0b435" and "cbe837176fb810b436cd8b5645ec6c7477dd998d" have entirely different histories.
1513f469ba
...
cbe837176f
3 changed files with 23 additions and 5 deletions
|
@ -27,6 +27,7 @@ apt-get update \
|
||||||
man \
|
man \
|
||||||
mc \
|
mc \
|
||||||
neovim \
|
neovim \
|
||||||
|
nodeenv \
|
||||||
python3 \
|
python3 \
|
||||||
python3-jedi \
|
python3-jedi \
|
||||||
python3-neovim \
|
python3-neovim \
|
||||||
|
@ -42,12 +43,23 @@ 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://git.schmidl.dev/schtobia/bootstrap/raw/branch/master/cleanup/cleanup.sh \
|
curl $CURLOPT -o /usr/local/sbin/cleanup.sh https://gist.github.com/schtobia/f02deeaf2fd20b23ae9fcf0f451cc858/raw/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
|
||||||
|
|
|
@ -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://git.schmidl.dev/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,13 @@ 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://git.schmidl.dev/schtobia/bootstrap/raw/branch/master/requirements.txt &&
|
pip install --user -r https://gitlab.com/schtobia/bootstrap/raw/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
|
||||||
|
|
|
@ -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://git.schmidl.dev/schtobia/bootstrap/raw/branch/master/bootstrap-root.sh \
|
curl $CURLOPT https://gitlab.com/schtobia/bootstrap/raw/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://git.schmidl.dev/schtobia/bootstrap/raw/branch/master/bootstrap-user.sh \
|
curl $CURLOPT https://gitlab.com/schtobia/bootstrap/raw/master/bootstrap-user.sh \
|
||||||
&& chmod +x bootstrap-user.sh
|
&& chmod +x bootstrap-user.sh
|
||||||
|
|
Loading…
Reference in a new issue