Simple bookmarks for the terminal.
NOTE: In early 2024, I made a shit ton of tiny, low-quality programs for myself. This is one such program, it was meant to be used with my file manager, but it can be used by itself. It may not be for you, as it was made as a quick and dirty program that just works for me.
Quickly navigate between directories in the terminal.
Build with:
make install
Run with:
mbm <file>
keys can only be a single character because that's all i need.
the file should be full of key:value pairs like this:
a:/home/urmom/
b:/home/urmom/bruh/
to cd into selected directory:
mbm() {
command mbm $@
DIR=$(cat ~/.mbmsel)
[ ! -z $DIR ] && cd $DIR
}