Experiment with user /etc/hosts
I have not been able to get this to work yet, but I hear that it is possible to maintain a user-specific /etc/hosts.
This commit is contained in:
parent
ef5eda4015
commit
059af12bea
2 changed files with 3 additions and 0 deletions
2
tools/website-blocker/.envrc
Normal file
2
tools/website-blocker/.envrc
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
source_up
|
||||||
|
export HOSTALIASES="$(realpath ./hosts)"
|
1
tools/website-blocker/hosts
Normal file
1
tools/website-blocker/hosts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
127.0.0.1 wsj.com www.wsj.com
|
Loading…
Reference in a new issue