William Melody
7b8b4db54b
Escape newlines consistently.
2020-04-12 16:50:30 -07:00
William Melody
16c7484c17
Improve test failure messages.
2020-04-12 16:09:12 -07:00
William Melody
c41b0ada74
Move documentation comment to more logical position.
2020-04-12 15:39:18 -07:00
William Melody
b8c4ec06b9
Add .travis.yml
2020-04-12 15:34:56 -07:00
William Melody
5bb8add6de
Update version to 3.3.1
2020-04-08 21:42:38 -07:00
William Melody
33c5aa1c3c
Modify example in README.md
2020-04-08 21:36:52 -07:00
William Melody
c14c1a5213
Avoid less
in backups show
.
2020-04-08 21:29:57 -07:00
William Melody
c23a00bc49
Add walkthrough to README.md
2020-04-08 21:26:21 -07:00
William Melody
fb67d7b510
Just use diff
in backups compare
.
2020-04-08 21:25:01 -07:00
William Melody
7fc3b994b4
Update version to 3.3.0
2020-04-08 18:01:24 -07:00
William Melody
ce605e8c0c
Add delete
alias for remove
.
2020-04-08 17:58:05 -07:00
William Melody
d772e7c13e
Avoid long lines in README.md
2020-04-08 17:47:53 -07:00
William Melody
7301dc38f1
Improve option parsing and command detection.
2020-04-08 17:44:51 -07:00
William Melody
5d9f876b13
Improve add
formatting.
2020-04-08 17:27:11 -07:00
William Melody
902c996b3b
Improve output formatting.
2020-04-08 16:43:07 -07:00
William Melody
3a810cf384
Update version to 3.2.5
2020-03-30 17:44:14 -07:00
William Melody
5916a18908
Avoid relying on hosts
being in $PATH
.
...
gh-8
2020-03-30 17:41:51 -07:00
William Melody
b44b69f83d
Use simpler homebrew install command in README.md.
2020-03-24 15:03:40 -07:00
William Melody
3ccfbb5bc1
Update version to 3.2.4
2020-03-23 17:54:20 -07:00
William Melody
f67a88af94
Add URL to help text.
2020-03-23 17:52:58 -07:00
William Melody
c864eff0ec
Update version to 3.2.3
2020-03-18 12:04:42 -07:00
William Melody
925de9dca5
Update GitHub username.
...
alphabetum -> xwmx
2020-03-18 12:02:45 -07:00
William Melody
9f0c3d1773
Update keywords in package.json.
2020-03-17 11:01:11 -07:00
William Melody
e9a7ecd6a7
Update version to 3.2.2
2020-03-16 22:36:18 -07:00
William Melody
85c1b7d436
Tweak keyword in package.json.
2020-03-16 22:35:43 -07:00
William Melody
0f3c59bd86
Rename SED_COMMAND
variable to _SED_I_COMMAND
.
2020-03-16 20:46:34 -07:00
William Melody
0a39dfe693
Add keywords to package.json.
2020-03-16 15:28:26 -07:00
William Melody
d91a4406a7
Update version to 3.2.1
2020-03-16 15:07:52 -07:00
William Melody
92f0e97073
Link to the package name on npmjs.com.
2020-03-16 15:05:21 -07:00
William Melody
13171f4a01
Swap installation methods in README.md.
2020-03-16 15:05:21 -07:00
William Melody
916009280e
Update bpkg URL in README.md.
2020-03-16 15:05:21 -07:00
William Melody
e858faec05
Add npm install to README.md.
2020-03-16 15:05:21 -07:00
William Melody
c6b84931a4
Update package name to 'hosts.sh'.
2020-03-16 15:05:21 -07:00
William Melody
75e68b0d17
Expand package.json.
2020-03-16 15:05:21 -07:00
William Melody
091e1c3809
Use non-mobile Wikipedia URL in README.md.
2020-03-15 20:37:05 -07:00
William Melody
774505abc0
Update version to 3.2.0
2020-03-15 18:55:34 -07:00
William Melody
659bbb4755
Use consistent argument name in documentation.
2020-03-15 18:51:42 -07:00
William Melody
0247826a41
Indicate in help text that --skip-backup
is optional.
2020-03-15 18:49:03 -07:00
William Melody
09dad21311
Remove extra backslashes from README.md.
2020-03-15 18:46:59 -07:00
William Melody
4eed5251da
Add backups
command.
...
`backups` provides subcommands for managing backups of the hosts file.
2020-03-15 18:42:16 -07:00
William Melody
ada8cb6019
Handle multiple hostnames with block
and unblock
.
2020-03-15 17:10:29 -07:00
William Melody
ab2a193371
Update version to 3.1.3
2020-03-15 17:08:11 -07:00
William Melody
4be5105f67
Modify sed
platform handling.
...
Use array for `sed -i` command so arguments are passed as expected. This
resolves an issue where a copy of the hosts file is created with quotes
appended to the filename.
2020-03-15 17:03:53 -07:00
William Melody
bfbe08a65b
Update version to 3.1.2
2020-03-15 11:45:39 -07:00
William Melody
a2cddd9466
Update documentation in .shellcheckrc.
2020-03-15 11:40:13 -07:00
William Melody
4fae0d5526
Disable SC2206.
...
`IFS` and `noglob` are set, so we can ignore both SC2206 and SC2207.
2020-03-15 11:38:39 -07:00
William Melody
c680c02007
Update grammar in comment.
2020-03-15 11:36:47 -07:00
William Melody
a54793a9d0
Add .shellcheckrc and disable SC2207.
2020-03-15 11:32:09 -07:00
William Melody
fa9ba543f5
Set noglob
to disable filename expansion (globbing).
2020-03-15 11:30:08 -07:00
William Melody
850f210a4f
Assign command parameters as quoted array.
...
Satisfies Shellcheck SC2206
https://github.com/koalaman/shellcheck/wiki/SC2206
2020-03-14 19:03:50 -07:00