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 41dabb75bdb222808bbf313ab1b0bf86bee9777c

Favorites view enforcement from the command line.
Author: Martin Dvorak
Author date (UTC): 2014-04-13 07:47
Committer name: Martin Dvorak
Committer date (UTC): 2014-04-13 07:47
Parent(s): a237568a1000dff45a21809c6b86dd373153a3a9
Signing key:
Tree: 6f968da4d2c313af03f55e4036a59e48c805550e
File Lines added Lines deleted
src/hstr.c 2 2
File src/hstr.c changed (mode: 100644) (index 21f2706..0fe8f37)
... ... void hstr()
702 702 HistoryItems *history=get_prioritized_history(); HistoryItems *history=get_prioritized_history();
703 703 if(history) { if(history) {
704 704 history_mgmt_open(); history_mgmt_open();
705 get_env_configuration();
706 705 loop_to_select(history); loop_to_select(history);
707 706 hstr_on_exit(); hstr_on_exit();
708 707 } else { } else {
 
... ... void hstr()
712 711
713 712 int main(int argc, char *argv[]) int main(int argc, char *argv[])
714 713 { {
714 get_env_configuration();
715 715 if(argc>0) { if(argc>0) {
716 716 if(argc==2) { if(argc==2) {
717 717 if(strstr(argv[1], "--favorites") || strstr(argv[1], "-f")) { if(strstr(argv[1], "--favorites") || strstr(argv[1], "-f")) {
718 xxx
718 historyView=HH_VIEW_FAVORITES;
719 719 } }
720 720 if(strstr(argv[1], "--show-configuration")) { if(strstr(argv[1], "--show-configuration")) {
721 721 printf("%s", INSTALL_STRING); printf("%s", INSTALL_STRING);
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