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:
<<: *default
user: sharkdp
bat:
<<: *default
user: sharkdp
just:
user: casey
# system monitoring
bottom:
@ -28,11 +33,18 @@ bottom:
# git
lazygit:
user: jesseduffield
cli:
user: cli
asset: linux_amd64.tar.gz
glab:
user: profclems
asset: Linux_x86_64.tar.gz
# editing
neovim:
user: neovim
# file management
gdu:
user: dundee
download-only: true
@ -41,3 +53,5 @@ gdu:
mv gdu_linux_amd64 $EGET_BIN/gdu
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}"
do
echo $tool
echo -n $tool
user=$(key=$tool yq e 'explode(.) | .[env(key)].user' $YAMLDOC)
asset=$(key=$tool yq e 'explode(.) | .[env(key)].asset // ""' $YAMLDOC)
@ -56,9 +56,10 @@ do
-q
if [[ $download_only ]]; then
echo '----'
echo 'running post-download script'
echo -n '-->'
echo -n 'running post-download script'
post_download_install $tool
fi
echo
done