From: Michael Dahlberg <dahlberg@recursoft.org>
To: "help-guix@gnu.org" <help-guix@gnu.org>
Subject: Change shell for account
Date: Fri, 13 Dec 2024 02:25:01 +0000 [thread overview]
Message-ID: <GtYuTspGq_SHEjsZHJZEXIFOeMucYKIBc03ORU69C7iCSIceh6yoIJ3Hgr2N0XimWo9SxLhhBYhpnbBoLJj-uXFq5fYyDWpwp3TdC2FUstc=@recursoft.org> (raw)
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
reply other threads:[~2024-12-13 2:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='GtYuTspGq_SHEjsZHJZEXIFOeMucYKIBc03ORU69C7iCSIceh6yoIJ3Hgr2N0XimWo9SxLhhBYhpnbBoLJj-uXFq5fYyDWpwp3TdC2FUstc=@recursoft.org' \
--to=dahlberg@recursoft.org \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).