Use HISTSIZE in the examples.
authorFrancois Fleuret <francois@fleuret.org>
Sun, 7 Jun 2009 20:19:26 +0000 (22:19 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Sun, 7 Jun 2009 20:19:26 +0000 (22:19 +0200)
selector.1

index d7290eb..8ca04cd 100644 (file)
@@ -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
 
 
 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"
 
 
 .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
 
 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.
 
 
 in your ~/.bashrc.