Tiny shell script to write without getting sidetracked by the Internet

20 Oct 2025

Useful for writing things where you need a lot of soul searching than google searching.

Put this script anywhere in your $PATH, and make it executable. Call the file ‘write’ maybe. And use it by typing ‘write’ from terminal.

#!/bin/sh
set -e
sudo systemctl stop iwd
vim ~/documents/journal.txt
sudo systemctl start iwd
echo "gg"

This is what it does: