dotfiles/docker/install-tools.sh

29 lines
817 B
Bash
Raw Normal View History

2022-12-09 14:25:06 -06:00
#!/usr/bin/env bash
export PATH="$PATH:/home/daylin/bin:/home/daylin/.dotfiles/bin"
export EGET_BIN=/home/$USER/bin
export EGET_CONFIG=/home/$USER/.config/eget/eget.toml
export DOTFILES_DIR=/home/$USER/.dotfiles
2022-12-09 14:25:06 -06:00
2023-01-30 11:39:10 -06:00
echo $HOME
# until next version release
cp "$EGET_CONFIG" "/root/.eget.toml"
2022-12-09 14:25:06 -06:00
curl https://zyedidia.github.io/eget.sh | sh && mv ./eget ./bin/eget
eget Tomwright/dasel --asset dasel_linux_amd64
2022-12-09 14:25:06 -06:00
2023-01-30 11:39:10 -06:00
aweget --verbose \
$(awk '{printf "-i %s ", $0}' "$DOTFILES_DIR/docker/tools.txt")
2022-12-09 14:25:06 -06:00
# eget rossmacarthur/sheldon
2023-01-30 11:39:10 -06:00
eget tree-sitter/tree-sitter --to "$EGET_BIN/tree-sitter"
2022-12-09 14:25:06 -06:00
# installing nvim
eget neovim/neovim --to ./nvim.appimage --pre-release
./nvim.appimage --appimage-extract >/dev/null 2>&1
2022-12-09 14:25:06 -06:00
./squashfs-root/AppRun --version
mv squashfs-root /
ln -s /squashfs-root/AppRun /usr/bin/nvim
rm nvim.appimage