Skip to content

Commit d3b5edb

Browse files
committed
skysh: add information on history file location
1 parent fd21340 commit d3b5edb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/3.using-repl.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ You can also run queries like: `inspect global` to see available global system i
3535

3636
:::info Quick notes
3737

38-
- The REPL currently stores history in the `.sky_history` file. If you want to remove history, you can simply delete the file
38+
- The REPL stores all command history in a file located at `$HOME/.sky_history` (here `$HOME` represents your home directory)
39+
- If you wish to change where the REPL stores the history file, set the `SKYSH_HISTORY_FILE` environment variable to your preferred path
3940
- The REPL will automatically parameterize queries. Don't worry about what this means; you'll learn about it ahead.
4041
- The REPL applies custom formatting to `DDL` queries. For example, even though `inspect global` returns a JSON as a string,
4142
the REPL formats it and outputs it without quotes, to improve readability

0 commit comments

Comments
 (0)