Skip to content

Commit

Permalink
enter: simplify env passing
Browse files Browse the repository at this point in the history
  • Loading branch information
89luca89 committed Dec 5, 2021
1 parent 1b253d4 commit 7b2585d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distrobox-enter
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ generate_command() {
echo "--interactive --tty --user=${USER} --workdir=${HOME}"
echo "--env=DISTROBOX_ENTER_PATH=$(command -v distrobox-enter)"
# exporting current environment to container
for i in $(printenv | grep '=' | head -n -2); do
for i in $(printenv); do
echo "--env=${i}"
done
# run selected pod with command+args
Expand Down

0 comments on commit 7b2585d

Please sign in to comment.