You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-:heavy_check_mark: serve fully dedupicated history
70
71
-:x: use arrow down for easy sequence repeating
71
72
-:heavy_check_mark: zsh
72
-
-:white_check_mark: bash *(performance issues)*
73
+
-:white_check_mark: bash *(off by deafult because of bash performance issues)*
73
74
74
75
-:heavy_check_mark: Provide a `reshctl` utility to control and interact with the project
75
76
-:heavy_check_mark: turn on/off resh key bindings
@@ -125,47 +126,47 @@ Check for updates and update
125
126
reshctl update
126
127
```
127
128
128
-
### RESH CLI tool
129
+
### RESH SEARCH application
129
130
130
-
RESH CLI searches your history by commands. It uses host, directories, git remote, and exit status to show you relevant results first.
131
+
RESH SEARCH app searches your history by commands. It uses host, directories, git remote, and exit status to show you relevant results first.
131
132
132
-
All this context is not in the regular shell history. RESH CLI will only search shell history that was recorded after you install this project.
133
+
All this context is not in the regular shell history. RESH records shell history with context to use it when searching.
133
134
134
-
*I use RESH CLI everyday but please remember that it is still a prototype.*
135
+
At first, the search application will look something like this. Some history with context and most of it without. As you can see, you can still search the history just fine.
RESH SEARCH app replaces the standard reverse search - launch it using Ctrl+R.
150
148
151
-
Enable/disable for FUTURE shell sessions:
149
+
Enable/disable the Ctrl+R keybinding:
152
150
153
151
```sh
154
-
reshctl enablectrl_r_binding_global
155
-
reshctl disable ctrl_r_binding_global
152
+
reshctl enablectrl_r_binding
153
+
reshctl disable ctrl_r_binding
156
154
```
157
155
158
-
Run the RESH CLI tool as a one-off:
156
+
You can also run the RESH SEARCH app directly as a one-off:
159
157
160
158
```sh
161
159
resh
162
160
```
163
161
162
+
NOTE: One feature is not available when running RESH SEARCH app directly - arrow right won't paste the selected command onto the command line for editing.
163
+
164
164
### Arrow key bindings
165
165
166
166
Resh provides arrow key bindings.
167
167
168
-
These bindings do regular stepping through history and prefix search.
168
+
These bindings provide regular stepping through history and prefix search.
169
+
They also fully deduplicate the served history.
169
170
170
171
They allow resh to record bindings usage metadata.
171
172
@@ -175,22 +176,14 @@ They allow resh to record bindings usage metadata.
175
176
176
177
Arrow key bindings are enabled by default in zsh and they are disabled by default in bash because there are some performance issues.
177
178
178
-
Enable/disable arrow key bindings for THIS shell session:
0 commit comments