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 157a8bf466fb57685a1c8dad7a3225418258635a

Proposing improvements in keywords match when the page is not full.
Author: Martin Dvorak
Author date (UTC): 2014-10-29 19:32
Committer name: Martin Dvorak
Committer date (UTC): 2014-10-29 19:32
Parent(s): ba5ba43352f2e543b8f6f480777e89896d5afcea
Signing key:
Tree: 4f0c1eb45aecfca75e8e646b0abc8e8dc150e061
File Lines added Lines deleted
src/hstr.c 4 4
File src/hstr.c changed (mode: 100644) (index 1ac7a06..9beb9bb)
... ... unsigned hstr_make_selection(char *prefix, HistoryItems *history, int maxSelecti
540 540 case HH_MATCH_REGEXP: case HH_MATCH_REGEXP:
541 541 // all regexps matched previously - user decides whether match ^ or infix // all regexps matched previously - user decides whether match ^ or infix
542 542 break; break;
543 // case HH_MATCH_KEYWORDS:
544 // keywordsParsedLine =
545 //
546 // break;
543 case HH_MATCH_KEYWORDS:
544 // TODO MD consider adding lines that didn't matched all keywords, but some of them
545 // (ordered by number of matched keywords)
546 break;
547 547 } }
548 548 } }
549 549 } }
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