Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Yash: Yet Another Shell. Parent comment
function set_histfile { export HISTFILE="$HOME/.bash_history_$(pwd |tr '/' '_')" } PROMPT_COMMAND="set_histfile; $PROMPT_COMMAND"
Someone else mentioned "direnv", too.
There are no comments on this comment yet.
Someone else mentioned "direnv", too.