Skip to content

Commit 3f4b2ab

Browse files
committed
update some wording in README.md
1 parent 5a4ee67 commit 3f4b2ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ We search from our shell history and execute commands dozens times in a day.
88

99
However, shell history sometimes contains authorization tokens that we don't care while searching the commands.
1010
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.
1212

1313
Another hint to implement `fillin` is that programmers execute same commands switching servers.
1414
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
6161

6262
One of the important features of `fillin` is variable scope grouping.
6363
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:
6565
```sh
6666
$ fillin psql -h {{psql:hostname}} -U {{psql:username}} -d {{psql:dbname}}
6767
[psql] hostname: localhost
@@ -89,7 +89,7 @@ The scope grouping behaviour is useful with some authorization keys.
8989
$ fillin curl {{example-api:base-url}}/api/1/example/info -H 'Authorization: Bearer {{example-api:access-token}}'
9090
[example-api] base-url, access-token: example.com, accesstokenabcde012345
9191
```
92-
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.
9393
Without the grouping behaviour, variable history searching will lead you to an unmatched pair of `base-url` and `access-token`.
9494
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.
9595

0 commit comments

Comments
 (0)