File src/hstr.c changed (mode: 100644) (index 89844f0..9ea2153) |
... |
... |
void hstr_get_env_configuration(Hstr *hstr) |
208 |
208 |
if(strstr(hstr_config,HH_CONFIG_CASE)) { |
if(strstr(hstr_config,HH_CONFIG_CASE)) { |
209 |
209 |
hstr->caseSensitive=HH_CASE_SENSITIVE; |
hstr->caseSensitive=HH_CASE_SENSITIVE; |
210 |
210 |
} |
} |
|
211 |
|
if(strstr(hstr_config,HH_CONFIG_REGEXP)) { |
|
212 |
|
hstr->historyMatch=HH_MATCH_REGEXP; |
|
213 |
|
} |
211 |
214 |
if(strstr(hstr_config,HH_CONFIG_SORTING)) { |
if(strstr(hstr_config,HH_CONFIG_SORTING)) { |
212 |
215 |
hstr->historyView=HH_VIEW_HISTORY; |
hstr->historyView=HH_VIEW_HISTORY; |
213 |
216 |
} else { |
} else { |
|
... |
... |
void hstr_get_env_configuration(Hstr *hstr) |
215 |
218 |
hstr->historyView=HH_VIEW_FAVORITES; |
hstr->historyView=HH_VIEW_FAVORITES; |
216 |
219 |
} |
} |
217 |
220 |
} |
} |
|
221 |
|
|
218 |
222 |
if(strstr(hstr_config,HH_CONFIG_DEBUG)) { |
if(strstr(hstr_config,HH_CONFIG_DEBUG)) { |
219 |
223 |
hstr->debugLevel=HH_DEBUG_LEVEL_DEBUG; |
hstr->debugLevel=HH_DEBUG_LEVEL_DEBUG; |
220 |
224 |
} else { |
} else { |