2017-08-09 – Panasonic Lumix DMC-GX7
seasonal fishing, waters off Hat Thung Wua Laen, Thailand
I’ve been using my new system for half a year now and my ~/.local/bin
is already becoming (slightly) cluttered – add in a handful of aliases and scripts
tucked away in ~/.ashrc
and I feel like I need to do some
re-organizing – the bash
man page has the famous line that I should
be using functions instead of aliases – additionally, aliases and functions
inside ~/.ashrc
aren’t available in non-interactive shells (ex.
when I call an external command with 〈ctrl〉-t
in
nano
)
For almost every purpose, aliases are superseded by shell functions.—
man 1 bash
the day after
the day before
the month before
the season before