From 233dba0dfed59617fcacbe9ea4bb2aafc78fa0ed Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Tue, 17 Dec 2024 13:29:47 -0800 Subject: [PATCH] Update buf --- dot_config/nushell/xdg.nu | 5 ++--- dot_local/bin/executable_install-buf | 2 +- dot_local/bin/executable_install-fzf | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/dot_config/nushell/xdg.nu b/dot_config/nushell/xdg.nu index 4771e49..05b5c6b 100644 --- a/dot_config/nushell/xdg.nu +++ b/dot_config/nushell/xdg.nu @@ -17,11 +17,10 @@ $env.XDG_VIDEOS_DIR = $'($env.HOME)/videos' let xdg = $env | transpose name value - | each {|e| if $e.name =~ 'XDG_' { $e } else { null }} - | each {|e| { + | each {|e| if $e.name =~ 'XDG_' {{ name: ($e.name | str replace 'XDG_' '' | str downcase), value: $e.value - }} + }} else { null }} | reduce --fold {} {|e, memo| { ...$memo, $e.name: ($e.value | if $in =~ ':' { split row ':' } else { $e.value }) diff --git a/dot_local/bin/executable_install-buf b/dot_local/bin/executable_install-buf index 8f6cc7f..d43969c 100755 --- a/dot_local/bin/executable_install-buf +++ b/dot_local/bin/executable_install-buf @@ -5,7 +5,7 @@ set -euo pipefail # shellcheck disable=SC1090 source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" -VERSION=${VERSION:-v1.36.0} +VERSION=${VERSION:-v1.47.2} DEST=${XDG_DATA_HOME}/apps/releases/buf CURRENT=${DEST}/current URL=https://github.com/bufbuild/buf/releases/download/${VERSION}/buf-$(uname)-$(uname -m).tar.gz diff --git a/dot_local/bin/executable_install-fzf b/dot_local/bin/executable_install-fzf index 1760f68..4e2f84f 100755 --- a/dot_local/bin/executable_install-fzf +++ b/dot_local/bin/executable_install-fzf @@ -3,7 +3,7 @@ source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" APP=fzf -VERSION=${VERSION:-0.53.0} +VERSION=${VERSION:-0.57.0} DEST=${XDG_DATA_HOME}/apps/releases/${APP} URL=https://github.com/junegunn/fzf/releases/download/${VERSION}/fzf-${VERSION}-$(get_os)_$(get_arch).tar.gz