Skip to content

⚡ Fast fuzzy search in iex history using fzf and tmux

License

Notifications You must be signed in to change notification settings

mrdotb/iex-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iex-history

asciicast

Installation

Hard requirements:

To install, run the following to your terminal.

I put it in my $HOME but feel free to put it where you want

git clone https://github.com/mrdotb/iex-history ~/.iex-history
cd ~/.iex-history
MIX_ENV=prod mix escript.build 

Now we need to move the generated binary iex-history in your $PATH or add the ~/.iex-history folder to your $PATH

mv iex-history ~/.local/bin/

Last step is to add the following line in your tmux config to call the script. The tmux binding I use is tmux prefix ctrl-r.

bind C-r run-shell -b "bash ~/.iex-history/history.sh #{session_name} #{window_id} #D #{pane_current_command}"

Don't forget to reload tmux config

source-file ~/.tmux.conf

About

⚡ Fast fuzzy search in iex history using fzf and tmux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published