From 76c99fdb096f61a352435e6b252e780cafd6b229 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Cepl?= Date: Mon, 11 Mar 2024 19:12:39 +0100 Subject: [PATCH] init: Fix a nit in fish shell (#1277) Just making the style of the fish script more fish-like and consistent within itself. --- distrobox-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distrobox-init b/distrobox-init index e612a9b61e..b8bbb8a8fb 100755 --- a/distrobox-init +++ b/distrobox-init @@ -1840,7 +1840,7 @@ if test -z \$XAUTHORITY end if test -z \$XAUTHLOCALHOSTNAME set -gx XAUTHLOCALHOSTNAME (host-spawn sh -c "printf "%s" \\\$XAUTHLOCALHOSTNAME") - test -z \$XAUTHLOCALHOSTNAME && set -e XAUTHLOCALHOSTNAME + test -z \$XAUTHLOCALHOSTNAME ; and set -e XAUTHLOCALHOSTNAME end # This will ensure we have a first-shell password setup for an user if needed.