Skip to content

Instantly share code, notes, and snippets.

View tonym128's full-sized avatar

Tony Mamacos tonym128

View GitHub Profile
@epochblue
epochblue / boom.sh
Last active September 20, 2021 11:14
A simple key-value "store" for use on the command line. Conceptually similar to Zach Holman's boom (https://github.com/holman/boom), but simpler and all in shell.
#!/usr/bin/env bash
# TODO: Document this
#
# AUTHOR: Bill Israel [https://github.com/epochblue]
# LICENSE: Public Domain
BOOMDB_DEFAULT="$HOME/.boomdb"
BOOMDB=${BOOMDB:=$BOOMDB_DEFAULT}
# Ensure the DB file exists