Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Using hashtags to organize your bash history. Parent comment
So, tagging a command line with "#save:scriptname" will save the command to ~/scripts/saved/scriptname.sh That way you can get the history search token and a script on disk in one fell swoop.
There are no comments on this comment yet.
So, tagging a command line with "#save:scriptname" will save the command to ~/scripts/saved/scriptname.sh That way you can get the history search token and a script on disk in one fell swoop.