News for hackers. Stuff that matters.
Re:Ask HN: Best things in your bash_profile/aliases? by LinuxBender on Tuesday January 15, 2019 @12:23PM (#18912865)
Nice. You might consider adding a check for the existence of a local cache file. If it doesn't exist, then try online. i.e.

   if [ ! -s "${cache_dir}"/"$1" ] ; then ...

There are no comments on this comment yet.