unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Change shell for account
@ 2024-12-13  2:25 Michael Dahlberg
  0 siblings, 0 replies; only message in thread
From: Michael Dahlberg @ 2024-12-13  2:25 UTC (permalink / raw)
  To: help-guix@gnu.org

I'm hoping there's a simple fix for this ... or I'm just doing it wrong. When I setup an auxiliary account using system reconfigure, I forgot to set the shell to zsh. As expected it set the shell to bash. To fix the problem, I went back into my config.scm and added the line:

(
[file-append](https://guix.gnu.org/manual/devel/en/guix.html#index-file_002dappend)

zsh

"/bin/zsh"

)

Now, the shell is /bin/zsh (as determined by echo $SHELL​ and looking at /etc/passwd) but the login shell is still bash (as determined by echo $0​). The problem with this is that none of the zsh shell login scripts run. At this point it would be a bit "problematic" to delete the account and recreate it.

Why is the login shell still bash and more importantly, how do I change it to zsh?

Thanks,
Mike

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-12-13  2:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-13  2:25 Change shell for account Michael Dahlberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).