Skip to content

Commit

Permalink
init: add explicit creation of /etc/fish/conf.d (#1348)
Browse files Browse the repository at this point in the history
  • Loading branch information
Book-reader authored May 1, 2024
1 parent 001ec7f commit 3cdc30c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distrobox-init
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3cdc30c

Please sign in to comment.