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
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ We search from our shell history and execute commands dozens times in a day.
8
8
9
9
However, shell history sometimes contains authorization tokens that we don't care while searching the commands.
10
10
Some incremental fuzzy searchers have troubles when there are many random tokens in the shell history.
11
-
Yeah, I know that I should not type a authorization token directly in the command line, but it's much easier than creating some shell script snippets.
11
+
Yeah, I know that I should not type authorization tokens directly in the command line, but it's much easier than creating some shell script snippets.
12
12
13
13
Another hint to implement `fillin` is that programmers execute same commands switching servers.
14
14
We do not just login with `ssh {{hostname}}`, we also connect to the database with `psql -h {{psql:hostname}} -U {{psql:username}} -d {{psql:dbname}}` and to Redis server with `redis-cli -h {{redis:hostname}} -p {{redis:port}}`.
@@ -61,7 +61,7 @@ Thus `{{sample-id}}`, `{{SAMPLE_ID}}`, `{{X01}}` and `{{FOO_example-identifier01
61
61
62
62
One of the important features of `fillin` is variable scope grouping.
63
63
Let's look into more practical example.
64
-
When you connect to PostgreSQL server, you can use:
64
+
When you connect to a PostgreSQL server, you can use:
The `base-url` and `access-token` are stored as tuples so you can easily switch between local, staging and production environment authorization.
92
+
The `base-url` and `access-token` are stored in pairs so you can easily switch between local, staging and production environment authorization.
93
93
Without the grouping behaviour, variable history searching will lead you to an unmatched pair of `base-url` and `access-token`.
94
94
Since the curl endpoint are stored in the shell history and authorization keys are stored in `fillin` history, we'll not be bothered by the quadratic number of the command history.
0 commit comments