From 04aea1b519ee40be3df56572f720ee6e034ef813 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 14 Dec 2021 14:44:30 -0600 Subject: [PATCH] add additional binary tools --- info/tools.yml | 14 ++++++++++++++ tools.sh | 7 ++++--- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/info/tools.yml b/info/tools.yml index a4648d8..7150f45 100644 --- a/info/tools.yml +++ b/info/tools.yml @@ -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 \ No newline at end of file diff --git a/tools.sh b/tools.sh index f3cf684..ce59084 100755 --- a/tools.sh +++ b/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