Comment

Comment by maxschumacher91

I've put them in my host file and created an alias that switches between naming the host-file "hosts" (which will be recognized by the OS) and hostx.

from my .zshrc:

#block Twitter, Facebook, reddit and Linkedin. alias on="sudo mv /etc/hostx /etc/hosts" alias off="sudo mv /etc/hosts /etc/hostx"

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton