summaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-02-20 17:21:28 +0100
committerJan Pokorný <jpokorny@redhat.com>2014-02-20 17:27:46 +0100
commita40ce854e831530f37b656419bc5c7f55a88fb17 (patch)
treebfff54d75e15e91fc38dd8a1c731aa5d09642e1e /.bashrc
parentbf7cd6960bd11cc0d2312c6523f461f809069f9f (diff)
downloaddotfiles-a40ce854e831530f37b656419bc5c7f55a88fb17.tar.gz
dotfiles-a40ce854e831530f37b656419bc5c7f55a88fb17.tar.xz
dotfiles-a40ce854e831530f37b656419bc5c7f55a88fb17.zip
.bashrc: allow for incremental search forward
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 4802e36..1491d82 100644
--- a/.bashrc
+++ b/.bashrc
@@ -42,6 +42,9 @@ HISTCONTROL=ignoreboth
PROMPT_COMMAND='(history -a)'
PS1='\[\033[01;34m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$ '
+# http://ruslanspivak.com/2010/11/25/bash-history-incremental-search-forward/
+stty stop ^X
+
# op(t)inioned commands
alias tree='tree -a'
alias mc='LESS="-RSX" mc'