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 0edef6180276950eb09a4402d88a1608ae35a2c8

Fixed #192 by adding parameter/arguments separator.
Author: dvorka
Author date (UTC): 2016-09-27 06:45
Committer name: GitHub
Committer date (UTC): 2016-09-27 06:45
Parent(s): 3000453f73f4a841d2bbc209d6e67d219108f7e2
Signing key:
Tree: 8a434712eaea7c6f581665306b1cd2c0d9e60d69
File Lines added Lines deleted
man/hh.1 2 2
File man/hh.1 changed (mode: 100644) (index 6d026d6..6ec6bf9)
... ... export HISTFILESIZE=10000 # increase history file size (default is 500)
163 163 export HISTSIZE=${HISTFILESIZE} # increase history size (default is 500) export HISTSIZE=${HISTFILESIZE} # increase history size (default is 500)
164 164 export PROMPT_COMMAND="history \-a; history \-n; ${PROMPT_COMMAND}" export PROMPT_COMMAND="history \-a; history \-n; ${PROMPT_COMMAND}"
165 165 # if this is interactive shell, then bind hh to Ctrl-r (for Vi mode check doc) # if this is interactive shell, then bind hh to Ctrl-r (for Vi mode check doc)
166 if [[ $\- =~ .*i.* ]]; then bind '"\eC\-r": "\eC\-a hh \eC-j"'; fi
166 if [[ $\- =~ .*i.* ]]; then bind '"\eC\-r": "\eC\-a hh -- \eC-j"'; fi
167 167 .sp .sp
168 168 .fi .fi
169 169 The prompt command ensures synchronization of the history between BASH memory The prompt command ensures synchronization of the history between BASH memory
 
... ... Optionally add the following lines to ~/.zshrc:
174 174 .sp .sp
175 175 export HISTFILE=~/.zsh_history # ensure history file visibility export HISTFILE=~/.zsh_history # ensure history file visibility
176 176 export HH_CONFIG=hicolor # get more colors export HH_CONFIG=hicolor # get more colors
177 bindkey -s "\eC\-r" "\eeqhh\en" # bind hh to Ctrl-r (for Vi mode check doc)
177 bindkey -s "\eC\-r" "\eeqhh\en" # bind hh to Ctrl-r (for Vi mode check doc, experiment with --)
178 178 .sp .sp
179 179 .fi .fi
180 180 .SH EXAMPLES .SH EXAMPLES
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