From: Francois Fleuret Date: Sun, 7 Jun 2009 20:19:26 +0000 (+0200) Subject: Use HISTSIZE in the examples. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=3903830f406226dc447e755a306ef76809d87b8c;p=selector.git Use HISTSIZE in the examples. --- 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.