Skip to content

Commit

Permalink
skysh: add information on history file location
Browse files Browse the repository at this point in the history
  • Loading branch information
ohsayan committed Apr 26, 2024
1 parent fd21340 commit d3b5edb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/3.using-repl.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ You can also run queries like: `inspect global` to see available global system i

:::info Quick notes

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

0 comments on commit d3b5edb

Please sign in to comment.