Skip to content

Commit 8ffc5ec

Browse files
author
Christoffer Aasted
committed
docs!: Relative to absolute path
1 parent 9aa052c commit 8ffc5ec

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

README.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,28 @@ hishtory init $YOUR_HISHTORY_SECRET
2323

2424
Now if you press `Control+R` on first computer, you can automatically see the commands you've run on all your other computers!
2525

26+
### Manual installation
27+
28+
Custom install path
29+
```bash
30+
HISHTORY_PATH="$HOME/.local/share/hishtory" hishtory install
31+
```
32+
33+
Sync disabled
34+
```bash
35+
hishtory hishtory install --offline
36+
```
37+
38+
Do not modify shell startup rc files on install
39+
```bash
40+
hishtory install --skip-config-modification
41+
```
42+
43+
Do not modify shell startup rc files on update
44+
```bash
45+
hishtory install --skip-update-config-modification
46+
```
47+
2648
## Features
2749

2850
### Querying
@@ -230,7 +252,7 @@ Note that this uses [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access
230252
<details>
231253
<summary>Customizing the install folder</summary><blockquote>
232254

233-
By default, hiSHtory is installed in `~/.hishtory/`. If you want to customize this, you can do so by setting the `HISHTORY_PATH` environment variable to a path relative to your home directory (e.g. `export HISHTORY_PATH=.config/hishtory`). This must be set both when you install hiSHtory and when you use hiSHtory, so it is recommend to set it in your `.bashrc`/`.zshrc`/`.fishrc` before installing hiSHtory.
255+
By default, hiSHtory is installed in `~/.hishtory/`. If you want to customize this, you can do so by setting the `HISHTORY_PATH` environment variable to an absolute path (e.g. `export HISHTORY_PATH=$HOME/.config/hishtory`). This must be set both when you install hiSHtory and when you use hiSHtory, so it is recommend to set it in your `.bashrc`/`.zshrc`/`.fishrc` before installing hiSHtory.
234256

235257
</blockquote></details>
236258

0 commit comments

Comments
 (0)