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 2446ad85091bd86e3f9820cc947c09c3b4452262

Added configuration parameter allowing to start hh in favorites view.
Author: Martin Dvorak
Author date (UTC): 2014-04-12 10:21
Committer name: Martin Dvorak
Committer date (UTC): 2014-04-12 10:21
Parent(s): 5c89871692e0787ebe89305ffad71465ed4a678e
Signing key:
Tree: e85855cfd2f895caa9147e935e96cd039a494cb3
File Lines added Lines deleted
src/hstr.c 6 1
File src/hstr.c changed (mode: 100644) (index aacea3a..a28bdbe)
65 65 #define HH_CONFIG_HICOLOR "hicolor" #define HH_CONFIG_HICOLOR "hicolor"
66 66 #define HH_CONFIG_CASE "casesensitive" #define HH_CONFIG_CASE "casesensitive"
67 67 #define HH_CONFIG_SORTING "rawhistory" #define HH_CONFIG_SORTING "rawhistory"
68 #define HH_CONFIG_FAVORITES "favorites"
68 69 #define HH_CONFIG_DEBUG "debug" #define HH_CONFIG_DEBUG "debug"
69 70 #define HH_CONFIG_WARN "warning" #define HH_CONFIG_WARN "warning"
70 71
 
... ... void get_env_configuration()
141 142 caseSensitive=TRUE; caseSensitive=TRUE;
142 143 } }
143 144 if(strstr(hhconfig,HH_CONFIG_SORTING)) { if(strstr(hhconfig,HH_CONFIG_SORTING)) {
144 historyView=TRUE;
145 historyView=HH_VIEW_HISTORY;
146 } else {
147 if(strstr(hhconfig,HH_CONFIG_FAVORITES)) {
148 historyView=HH_VIEW_FAVORITES;
149 }
145 150 } }
146 151 if(strstr(hhconfig,HH_CONFIG_DEBUG)) { if(strstr(hhconfig,HH_CONFIG_DEBUG)) {
147 152 debugLevel=HH_DEBUG_LEVEL_DEBUG; debugLevel=HH_DEBUG_LEVEL_DEBUG;
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