mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
system: Skeleton '.bashrc' now exports the 'SHELL' variable.
* gnu/system/shadow.scm (default-skeletons)[bashrc]: Export 'SHELL'.
This commit is contained in:
parent
0aa34e820c
commit
2f094a69f0
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue