cdc
cdc copied to clipboard
Purge option
Consider adding -P that will purge the last, or optionally a count, elements from the history stack without changing the current working directory.
Fudge, forgot bash getopts doesn't account for optional arguments for flags. Deciding if there should always be a required count, or if you just have to pass -P multiple times 🤔