/bin
or Clone the project and run go run build
bind '"\C-r": "\C-a storydb \C-j"'
put it in your global variable as /etc/profile
or $HOME/profile
sysctl -w dev.tty.legacy_tiocsti=1
if your kernel is 6.2 or above.You can conveniently explore and interact with your command-line history, making it easier to recall past commands, analyze usage patterns, and improve your workflow in the terminal.
Key | Event |
---|---|
k, shift+tab, ↑ | up |
ctrl+d, → | page right |
j, ↓ | down |
ctrl+s, ← | page left |
enter | select row to fill term |
ctrl+c, q | bring down finder or quit |
alt+s | sync/load history file |
ctrl+r | reset finder text input |
f | bring up finder text input |
export storydb=$(tty)
in your global variable profile that is usually located at /etc/profile or $HOME export HISTFILE=$HOME/.bash_history
or export HISTFILE=$HOME/.zsh_history