projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d78adcc
)
Use HISTSIZE in the examples.
author
Francois Fleuret
<francois@fleuret.org>
Sun, 7 Jun 2009 20:19:26 +0000
(22:19 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Sun, 7 Jun 2009 20:19:26 +0000
(22:19 +0200)
selector.1
patch
|
blob
|
history
diff --git
a/selector.1
b/selector.1
index
d7290eb
..
8ca04cd
100644
(file)
--- 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
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.