Use filter and update nushell
This commit is contained in:
parent
a59ab8b840
commit
bdd690f2a8
@ -47,7 +47,7 @@ load-env ({
|
||||
XDG_TEMPLATES_DIR: (add_xdg XDG_TEMPLATES_DIR Templates templates)
|
||||
XDG_VIDEOS_DIR: (add_xdg XDG_VIDEOS_DIR Videos videos)
|
||||
} | transpose name value
|
||||
| filter { $in.value | is-not-empty }
|
||||
| where { $in.value | is-not-empty }
|
||||
| transpose --header-row --as-record)
|
||||
|
||||
load-env {
|
||||
|
||||
@ -6,7 +6,7 @@ source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
|
||||
|
||||
main () (
|
||||
APP=nushell
|
||||
VERSION=${VERSION:-0.103.0}
|
||||
VERSION=${VERSION:-0.105.1}
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user