diff --git a/gnu/system/shadow.scm b/gnu/system/shadow.scm index 4cb8018827..16b9e4b555 100644 --- a/gnu/system/shadow.scm +++ b/gnu/system/shadow.scm @@ -123,6 +123,10 @@ (define copy-guile-wm # Bash initialization for interactive non-login shells and # for remote shells (info \"(bash) Bash Startup Files\"). +# Export 'SHELL' to child processes. Programs such as 'screen' +# honor it and otherwise use /bin/sh. +export SHELL + if [ -n \"$SSH_CLIENT\" -a -z \"`type -P cat`\" ] then # We are being invoked from a non-interactive SSH session