X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=selector.1;h=8ca04cdebf71cf541c4ddd3bd67af630482baad7;hb=3903830f406226dc447e755a306ef76809d87b8c;hp=d7290eb4784d07a45a8430acd48f99b81e2ebdc8;hpb=4648a517a4e6365a20cca6f9a7382cbbbf6da021;p=selector.git diff --git a/selector.1 b/selector.1 index d7290eb..8ca04cd 100644 --- a/selector.1 +++ b/selector.1 @@ -89,7 +89,7 @@ specify a file to search into (option kept for compatibility reasons) To use selector to search into your bash history, you can use -.B selector -q -b -i -d -v -w -l 10000 <(history) +.B selector -q -b -i -d -v -w -l ${HISTSIZE} <(history) .SH "KEY-BINDING IN BASH" @@ -98,7 +98,7 @@ command 'bind' in your bash initialization file. For instance, to associate it to M-r (that is, the "Alt" and "r" key pressed together), just add something like -bind '"\\C-[r":"\\C-a\\C-kselector -q -b -i -d -v -w -l 10000 <(history)\\C-m"' +bind '"\\C-[r":"\\C-a\\C-kselector -q -b -i -d -v -w -l ${HISTSIZE} <(history)\\C-m"' in your ~/.bashrc.