add additional binary tools
This commit is contained in:
parent
beb0a681f3
commit
04aea1b519
2 changed files with 18 additions and 3 deletions
|
@ -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
|
7
tools.sh
7
tools.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue