|
|
|
@ -113,20 +113,6 @@ curl -fsSL https://raw.githubusercontent.com/curusarn/resh/master/scripts/rawins |
|
|
|
|
|
|
|
|
|
|
|
## Examples |
|
|
|
## Examples |
|
|
|
|
|
|
|
|
|
|
|
### View the recorded history |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Resh history is saved to `~/.resh_history.json` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Each line is a JSON that represents one executed command line. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is how I view it `tail -f ~/.resh_history.json | jq` or `jq < ~/.resh_history.json`. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You can install `jq` using your favourite package manager or you can use other JSON parser to view the history. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*Recorded metadata will be reduced to only include useful information in the future.* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Update |
|
|
|
### Update |
|
|
|
|
|
|
|
|
|
|
|
Check for updates and update |
|
|
|
Check for updates and update |
|
|
|
@ -204,6 +190,20 @@ See what your current setting is: |
|
|
|
reshctl status |
|
|
|
reshctl status |
|
|
|
``` |
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### View the recorded history |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Resh history is saved to `~/.resh_history.json` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Each line is a JSON that represents one executed command line. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is how I view it `tail -f ~/.resh_history.json | jq` or `jq < ~/.resh_history.json`. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
You can install `jq` using your favourite package manager or you can use other JSON parser to view the history. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*Recorded metadata will be reduced to only include useful information in the future.* |
|
|
|
|
|
|
|
|
|
|
|
### Graphs |
|
|
|
### Graphs |
|
|
|
|
|
|
|
|
|
|
|
:clock10: *coming soon-ish (working on other parts of the project atm)* |
|
|
|
:clock10: *coming soon-ish (working on other parts of the project atm)* |
|
|
|
|