X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=inline;f=selector.cc;h=5480539459f29794e5d1e349872926a627459873;hb=e5cac5f305479e8c1003117cc226d6dea9f9adde;hp=0cd620a44e484104bd26031f38c9a5ecc642efb1;hpb=2cfbebb3bfb34779588bdfbce7b56ede149610cb;p=selector.git diff --git a/selector.cc b/selector.cc index 0cd620a..5480539 100644 --- a/selector.cc +++ b/selector.cc @@ -23,7 +23,7 @@ */ // To use it as a super-history-search for bash: -// alias h='selector -d -i -b -v -f <(history)' +// selector -q -b -i -d -v -w -l 10000 <(history) #include #include @@ -51,7 +51,8 @@ char label_separator = '\0'; int output_to_vt_buffer = 0; int add_control_qs = 0; int with_colors = 1; -int zsh_history = 0, bash_history = 0; +int zsh_history = 0; +int bash_history = 0; int inverse_order = 0; int remove_duplicates = 0; int use_regexp = 0;