diff --git a/distrobox-init b/distrobox-init index 459a7002e2..c741741e48 100755 --- a/distrobox-init +++ b/distrobox-init @@ -1810,6 +1810,7 @@ EOF # It's also importanto to keep this working on fish shells if [ -e "/etc/fish/config.fish" ]; then + mkdir -p /etc/fish/conf.d cat << EOF > /etc/fish/conf.d/distrobox_config.fish test -z "\$USER" && set -gx USER (id -un 2> /dev/null) test -z "\$UID" && set -gx UID (id -ur 2> /dev/null)