Supercharge Your Bash History With Fuzzy Matching and Shared History
Boost your productivity by expanding your command history and adding the power of fzf fuzzy search to your terminal. Why Improve Your Bash History Enhancing your Bash history gives you: Faster command recall Shared history across all terminal sessions Useful timestamps for every command Step 1: Enhance Your Bash History Open your configuration file: nano ~/.bashrc Add the following: # Remove duplicate history entries export HISTCONTROL=ignoredups:erasedups # Increase history size export HISTSIZE=1000000 export HISTFILESIZE=1000000 # Add timestamps export HISTTIMEFORMAT="%F %T: " # Sync history across sessions export PROMPT_COMMAND="history -a; history -c; history -r; $PROMPT_COMMAND" Apply the changes: ...