Skip to content

Instantly share code, notes, and snippets.

Created January 18, 2020 13:44
What would you like to do?
Create a new bash session and save/load all the command history in current directory
#!/usr/bin/env bash
export HISTFILE=$PWD/.bash_history
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment