GNU bug report logs - #36311
doc: Add subsection and note about environment variables.

Previous Next

Package: guix-patches;

Reported by: swedebugia <swedebugia <at> riseup.net>

Date: Thu, 20 Jun 2019 16:18:01 UTC

Severity: normal

Tags: moreinfo

Done: Simon Tournier <zimon.toutoune <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: swedebugia <swedebugia <at> riseup.net>
Cc: 36311 <at> debbugs.gnu.org
Subject: [bug#36311] doc: Add subsection and note about environment variables.
Date: Mon, 15 Jul 2019 13:32:09 +0200
Hello,

swedebugia <swedebugia <at> riseup.net> writes:

>> +Following the installation we recommend putting all environment variables into
>> + @file{~.bash_profile} to make sure they are only executed when your login to
>> + a shell (ie. open up a virtual terminal).

I think @file{~/.bash_profile} is clearer.

Also "ie. open up…" -> "i.e., open up…" or "i.e.@: open up…"

>> +If you use bash and put them into @file{.bashrc} you will end up with errors
>> +because this file is executed by bash EVERY time a new environment is entered

Maybe @emph{every}, since emphasizing with capitals is typographically
suboptimal.

>> +(e.g. when entering a pure environment with @command{guix environment guix
>> +--pure} and contaminate the environment).

"e.g. when" -> "e.g., when" or "e.g.@: when". 

See (info "Not Ending a Sentence") for more information.

Also, according to (info "@command"), it shoud be either @samp or @code.
After a cursory look, "guix.texi" seems to use "@code" for entire shell
command invocations.

HTH,

-- 
Nicolas Goaziou




This bug report was last modified 91 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.