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 c71530db1c7e97912879a9e2471e37287f8fbef5

Fixing prompt to selection move on C-/ (was 2nd line instead of 1st) + making 1-dist.sh robust regardless automake location.
Author: Martin Dvorak
Author date (UTC): 2014-05-07 03:31
Committer name: Martin Dvorak
Committer date (UTC): 2014-05-07 03:31
Parent(s): e06f93d01da6debb70634fe3c003170927fe1059
Signing key:
Tree: 6d56155ab85e3852fd5d018b121a2a10f30dadac
File Lines added Lines deleted
dist/1-dist.sh 7 3
src/hstr.c 1 1
File dist/1-dist.sh changed (mode: 100755) (index 7f4f6ea..c730637)
... ... automake --force-missing --add-missing
8 8 autoconf autoconf
9 9
10 10 rm -rvf autom*te.cache rm -rvf autom*te.cache
11 cp -vf /usr/share/automake-1.11/depcomp .
12 cp -vf /usr/share/automake-1.11/install-sh .
13 cp -vf /usr/share/automake-1.11/missing .
11
12 if [ -d /usr/share/automake-1.11 ]
13 then
14 cp -vf /usr/share/automake-1.11/depcomp .
15 cp -vf /usr/share/automake-1.11/install-sh .
16 cp -vf /usr/share/automake-1.11/missing .
17 fi
14 18
15 19 cd dist cd dist
16 20
File src/hstr.c changed (mode: 100644) (index e724a91..d08a4dc)
... ... void loop_to_select(Hstr *hstr)
781 781 hstr_next_view(hstr); hstr_next_view(hstr);
782 782 result=hstr_print_selection(maxHistoryItems, pattern, hstr); result=hstr_print_selection(maxHistoryItems, pattern, hstr);
783 783 print_history_label(hstr); print_history_label(hstr);
784 selectionCursorPosition=0;
784 selectionCursorPosition=SELECTION_CURSOR_IN_PROMPT;
785 785 if(strlen(pattern)<(width-basex-1)) { if(strlen(pattern)<(width-basex-1)) {
786 786 print_prefix(pattern, y, basex); print_prefix(pattern, y, basex);
787 787 cursorX=getcurx(stdscr); cursorX=getcurx(stdscr);
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