From 103719ed0fc09649bddd6f53d2160218a190021c Mon Sep 17 00:00:00 2001 From: Luca Di Maio Date: Wed, 7 Sep 2022 16:20:11 +0200 Subject: [PATCH] enter: do a login shell by default. Fix #396 Signed-off-by: Luca Di Maio --- distrobox-enter | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distrobox-enter b/distrobox-enter index 2aabb3cae9..54be888e05 100755 --- a/distrobox-enter +++ b/distrobox-enter @@ -365,7 +365,7 @@ generate_command() { else # if no command was specified, let's execute a command that will find # and run the default shell for the user - result_command="${result_command} sh -c \"\\\$(getent passwd ${USER} | cut -f 7 -d :)"\" + result_command="${result_command} sh -c \"\\\$(getent passwd ${USER} | cut -f 7 -d :) -l"\" fi # Return generated command.