Skip to content

Commit

Permalink
init: Fix a nit in fish shell (#1277)
Browse files Browse the repository at this point in the history
Just making the style of the fish script more fish-like and
consistent within itself.
  • Loading branch information
mcepl authored Mar 11, 2024
1 parent 4a51a29 commit 76c99fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrobox-init
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 76c99fd

Please sign in to comment.