Skip to content

Commit 7f7d901

Browse files
author
Victor Bjelkholm
committed
Add TRYMODULE_HISTORY_PATH info to readme
1 parent 4c4d28a commit 7f7d901

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readme.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ Same as above but with many packages in one go!
2020

2121
## Configuration
2222

23-
There are two environment variable you can use to customize trymodule.
23+
There are a couple of environment variables you can use to customize trymodule.
2424

2525
`TRYMODULE_PATH` for setting the path of where modules are stored. By default this is `$HOME/.trymodule` or `$USERPROFILE/.trymodule`
2626

2727
`TRYMODULE_NONINTERACTIVE` for making trymodule not fire up the repl in the end. This is useful if you want to just install some packages for future use. By default this is undefined. Setting it to any value would make trymodule non-interactive.
2828

29+
`TRYMODULE_HISTORY_PATH` for changing where to save the repl history. Should be pointing to a user write-able file. Defaults to `$TRYMODULE_PATH/repl_history`
30+
2931
You can set the environment variables for one session with `export TRYMODULE_PATH=/usr/bin/trymodule` or for just one time by doing `TRYMOUDLE_PATH=/usr/bin/trymodule trymodule colors`.
3032

3133
## Remove installed packages

0 commit comments

Comments
 (0)