From 6e4cb371b9f263c4de5cf9eda40fc58e7ad25557 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Thu, 7 Sep 2023 22:08:21 -0700 Subject: [PATCH] fix: Correct issues with just command, lists by default and works in fish no matter working directory Fixes #271 --- system_files/deck/shared/usr/share/ublue-os/just/custom.just | 3 +++ .../desktop/shared/usr/share/fish/vendor_conf.d/just.fish | 2 +- .../desktop/shared/usr/share/ublue-os/just/custom.just | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/system_files/deck/shared/usr/share/ublue-os/just/custom.just b/system_files/deck/shared/usr/share/ublue-os/just/custom.just index d9bee453..9e141ef6 100644 --- a/system_files/deck/shared/usr/share/ublue-os/just/custom.just +++ b/system_files/deck/shared/usr/share/ublue-os/just/custom.just @@ -1,3 +1,6 @@ +default: + /usr/bin/just --list --list-heading $'Available commands:\n' --list-prefix $' - ' --justfile /usr/share/ublue-os/just/custom.just + enable-gamescope-autologin: #!/usr/bin/env bash source /etc/default/bazzite diff --git a/system_files/desktop/shared/usr/share/fish/vendor_conf.d/just.fish b/system_files/desktop/shared/usr/share/fish/vendor_conf.d/just.fish index 897e6253..c660a7b6 100755 --- a/system_files/desktop/shared/usr/share/fish/vendor_conf.d/just.fish +++ b/system_files/desktop/shared/usr/share/fish/vendor_conf.d/just.fish @@ -1 +1 @@ -alias just='/usr/bin/just --unstable' +alias just='/usr/bin/just --unstable --justfile /usr/share/ublue-os/just/custom.just' diff --git a/system_files/desktop/shared/usr/share/ublue-os/just/custom.just b/system_files/desktop/shared/usr/share/ublue-os/just/custom.just index 7e8ce8c6..099cf51f 100644 --- a/system_files/desktop/shared/usr/share/ublue-os/just/custom.just +++ b/system_files/desktop/shared/usr/share/ublue-os/just/custom.just @@ -1,3 +1,6 @@ +default: + /usr/bin/just --list --list-heading $'Available commands:\n' --list-prefix $' - ' --justfile /usr/share/ublue-os/just/custom.just + install-bazzite-arch: source /etc/default/bazzite && \ echo 'Installing Bazzite Arch...' && \