Last articles

Categories

Bash Jquery Linux php PluXml Raspberry Pi Tools Unix


Selector - bash history

11 december 2012

Selector is a small bash commands capture tools developed by François Fleuret. It provides a simple interface for navigating through the history of commands and paths via keyboard shortcuts. Once the tool is set up, simply use the keys (Alt + r) to navigate through the command history and (Alt + d) to find all the different paths visited.

Handy for quickly navigating through the tree and quickly find order already used. Selector supports via (Alt-r) looking at the first character (same as google), compatible with regular expressions ...


Its implementation is very simple:

  1. Repatriate sources
  2. Construction of binary
  3. Called from your ~. Bashrc


For the impatient:

cd ~
mkdir bin/
cd bin/
git clone http://fleuret.org/git/selector/ 
cd selector
make selector
sudo ln -s ~/bin/selector/selector /usr/local/bin/selector

nano ~/.bashrc
#exemple d'intégration à son bash
#if [ -f ~/bin/selector/bash-selector.sh ]; then
#   . ~/bin/selector/bash-selector.sh --hist --cd
#fi

source ~/.bashrc
selector --help
Example rendering (Alt + r)

Selector (Alt+r)

Classified in : Homepage, Unix - Tags : Bash, Linux, Tools

1 comment

tuesday 06 june 2017 @ 11:02 custom essay writing service said : #1

I am really appreciate the blogger which provides the research details and increase my knowledge. I am also looking for such type of info which proved to be useful for me in the future.

Write a comment

What is the third letter of the word isjq? : 

Last articles

Categories

Archives