rekado pushed a commit to branch master
in repository maintenance.
commit 956cba717204f0b8edf138fb3c15e52f75837447
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Mon May 30 12:38:46 2022 +0200
refcard: Replace "environment" with "shell".
---
doc/refcard/guix-refcard.lout | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/doc/refcard/guix-refcard.lout b/doc/refcard/guix-refcard.lout
index 527e135..8f70e40 100644
--- a/doc/refcard/guix-refcard.lout
+++ b/doc/refcard/guix-refcard.lout
@@ -103,11 +103,12 @@ packages of interest, along these lines:
@C { One-Off Environments }
@Begin
-@LEntry { guix environment "--"ad-hoc @Var { spec }@Dots } {
+@LEntry { guix shell @Var { spec }@Dots } {
environment containing @Var { spec }@Dots }
-@LEntry { guix environment python } { environment to develop Python itself
}
-@LEntry { guix environment "--"ad-hoc python -C "--" python3 } { run Python
in a container }
-@LEntry { guix environment -m @Var { file } } { create an environment
+@LEntry { guix shell -D python } { environment to develop Python itself }
+@LEntry { guix shell python -C "--" python3 } { run Python in a container }
+@LEntry { guix shell "--"check } { check if the shell clobbers environment
variables }
+@LEntry { guix shell -m @Var { file } } { create an environment
for the packages in manifest @Var { file } }
@End @Category