From: Tomas Volf <~@wolfsden.cz>
To: help-guix@gnu.org
Subject: How to do initialization specific to guix repl inside .guile?
Date: Wed, 6 Mar 2024 15:47:22 +0100 [thread overview]
Message-ID: <ZeiB-paW918mmOjQ@ws> (raw)
[-- Attachment #1: Type: text/plain, Size: 542 bytes --]
Hello,
As far as I can tell, there is one shared configuration file for guile and guix
repls (or rather, guix just uses ~/.guile). However I would like to have some
configuration that is executed only for guix repl, since it does not make sense
for guile repl.
Is there a way to detect from .guile whether guix repl or guile repl is starting
so that I can branch on that?
Thank you in advance and have a nice day,
Tomas Volf
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2024-03-06 14:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-06 14:47 Tomas Volf [this message]
2024-03-08 17:45 ` How to do initialization specific to guix repl inside .guile? Parnikkapore via
2024-03-09 14:30 ` Tomas Volf
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=ZeiB-paW918mmOjQ@ws \
--to=~@wolfsden.cz \
--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).