add additional binary tools

This commit is contained in:
Daylin Morgan 2021-12-14 14:44:30 -06:00
parent beb0a681f3
commit 04aea1b519
2 changed files with 18 additions and 3 deletions

View file

@ -18,6 +18,11 @@ ripgrep:
fd: fd:
<<: *default <<: *default
user: sharkdp user: sharkdp
bat:
<<: *default
user: sharkdp
just:
user: casey
# system monitoring # system monitoring
bottom: bottom:
@ -28,11 +33,18 @@ bottom:
# git # git
lazygit: lazygit:
user: jesseduffield user: jesseduffield
cli:
user: cli
asset: linux_amd64.tar.gz
glab:
user: profclems
asset: Linux_x86_64.tar.gz
# editing # editing
neovim: neovim:
user: neovim user: neovim
# file management
gdu: gdu:
user: dundee user: dundee
download-only: true download-only: true
@ -41,3 +53,5 @@ gdu:
mv gdu_linux_amd64 $EGET_BIN/gdu mv gdu_linux_amd64 $EGET_BIN/gdu
rm gdu_linux_amd64.tgz rm gdu_linux_amd64.tgz
lf:
user: gokcehan

View file

@ -40,7 +40,7 @@ readarray tools < <(yq e 'keys | .[]' $YAMLDOC)
for tool in "${tools[@]:1}" for tool in "${tools[@]:1}"
do do
echo $tool echo -n $tool
user=$(key=$tool yq e 'explode(.) | .[env(key)].user' $YAMLDOC) user=$(key=$tool yq e 'explode(.) | .[env(key)].user' $YAMLDOC)
asset=$(key=$tool yq e 'explode(.) | .[env(key)].asset // ""' $YAMLDOC) asset=$(key=$tool yq e 'explode(.) | .[env(key)].asset // ""' $YAMLDOC)
@ -56,9 +56,10 @@ do
-q -q
if [[ $download_only ]]; then if [[ $download_only ]]; then
echo '----' echo -n '-->'
echo 'running post-download script' echo -n 'running post-download script'
post_download_install $tool post_download_install $tool
fi fi
echo
done done