From 99ef811f67d700677554a6cffad5ed492cacfc9b Mon Sep 17 00:00:00 2001 From: Buddy Date: Thu, 20 Mar 2025 12:49:15 -0700 Subject: [PATCH] Update nushell version --- dot_config/nushell/config.nu.tmpl | 22 +++++++++++++++++++--- dot_local/bin/executable_install-nu | 2 +- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/dot_config/nushell/config.nu.tmpl b/dot_config/nushell/config.nu.tmpl index 0259b60..c5927e5 100644 --- a/dot_config/nushell/config.nu.tmpl +++ b/dot_config/nushell/config.nu.tmpl @@ -4,7 +4,23 @@ use completions * use inspect -#{{- if eq .role "work" }} +#{{ if lookPath "nu_plugin_formats" -}} +plugin use formats +#{{- end }} +#{{ if lookPath "nu_plugin_inc" -}} +plugin use inc +#{{- end }} +#{{ if lookPath "nu_plugin_query" -}} +plugin use query +#{{- end }} +#{{ if lookPath "nu_plugin_gstat" -}} +plugin use gstat +#{{- end }} +#{{ if lookPath "nu_plugin_polars" -}} +plugin use polars +#{{- end }} + +#{{ if eq .role "work" -}} overlay use work #{{- end }} @@ -25,7 +41,7 @@ $env.config = { plugins: { #{{- if eq .role "work" }} - nupsql: (dbs nuql config) + #nupsql: (dbs nuql config) #{{- end }} } @@ -138,5 +154,5 @@ $env.config = { } #{{- if eq .role "work" }} -dbs nuql auth +#dbs nuql auth #{{- end }} diff --git a/dot_local/bin/executable_install-nu b/dot_local/bin/executable_install-nu index 9e3dc5c..a78a0d3 100755 --- a/dot_local/bin/executable_install-nu +++ b/dot_local/bin/executable_install-nu @@ -6,7 +6,7 @@ source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" main () ( APP=nushell - VERSION=${VERSION:-0.102.0} + VERSION=${VERSION:-0.103.0} DEST=${XDG_DATA_HOME}/apps/releases/${APP} URL=https://github.com/nushell/nushell/releases/download/${VERSION}/nu-${VERSION}-$(uname -m)-$(get_os).tar.gz PLUGIN_DIR=${XDG_CONFIG_HOME}/nushell/plugins