xaizek / hstr (License: Apachev2) (since 2018-12-07)
Bash and Zsh shell history suggest box - easily view, navigate, search and manage your command history.
Commit f2545a0492737dc1b986ff2b3c83118aeb89b291

md polishing
Author: Martin Dvorak
Author date (UTC): 2013-12-03 06:51
Committer name: Martin Dvorak
Committer date (UTC): 2013-12-03 06:51
Parent(s): b980d43fb4dfabb152e94f9d100c374de49049c3
Signing key:
Tree: 091fd1908b71507c7bb66713842ed7208f576bd0
File Lines added Lines deleted
README.md 10 10
File README.md changed (mode: 100644) (index c4cad1e..6449ba7)
... ... INSTALLATION
20 20 * add hh to $PATH * add hh to $PATH
21 21 * you may also bind hh to a BASH key (e.g. F12) by adding bind to .bashrc: * you may also bind hh to a BASH key (e.g. F12) by adding bind to .bashrc:
22 22
23 bind '"\e[24~":"hh"'
23 bind '"\e[24~":"hh"'
24 24
25 To determine the character sequence emitted by a pressed key in terminal,
26 type CTRL-v and then press the key. For example, F12 gives "^[[24~" (no quotes).
27 Replace the "^[" with \e. To clear the line first, add “\C-k \C-u” in front of
28 the actual command to clear the line first.
25 To determine the character sequence emitted by a pressed key in terminal,
26 type CTRL-v and then press the key. For example, F12 gives "^[[24~" (no quotes).
27 Replace the "^[" with \e. To clear the line first, add “\C-k \C-u” in front of
28 the actual command to clear the line first.
29 29
30 bind '"\e[24~":"\C-kX\C-uhh\n"'
30 bind '"\e[24~":"\C-kX\C-uhh\n"'
31 31
32 Binding using Ctrl-F12:
32 Binding using Ctrl-F12:
33 33
34 bind '"\e[24;5~":"\C-kX\C-uhh\n"'
34 bind '"\e[24;5~":"\C-kX\C-uhh\n"'
35 35
36 Check:
36 Check:
37 37
38 bind -S
38 bind -S
39 39
40 40
41 41 BUGS BUGS
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/hstr

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/hstr

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master