summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-02-25 18:44:00 +0100
committerJan Pokorný <jpokorny@redhat.com>2014-02-25 18:44:00 +0100
commit1183b5d600436423a595533aef16848dd321fabb (patch)
tree05533b15baf34cd4209017ed9bc81a060e9f40e2
parente2ddd1538e17aeceb32fb5c848464fd0a78692ef (diff)
downloaddotfiles-1183b5d600436423a595533aef16848dd321fabb.tar.gz
dotfiles-1183b5d600436423a595533aef16848dd321fabb.tar.xz
dotfiles-1183b5d600436423a595533aef16848dd321fabb.zip
Bash config: preexec paging hack: include "find" util
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 8faa268..0d1bce2 100644
--- a/.bashrc
+++ b/.bashrc
@@ -133,7 +133,7 @@ preexec() {
test ${BASH_SUBSHELL} -eq 0 && [[ ! "${1}" =~ .*\|.* ]] \
|| { _preexec_flag=0; return 0; }
case "$1" in
- rpm\ *|yum\ list\ *)
+ rpm\ *|yum\ list\ *|find\ *)
_preexec_flag=1
eval "${1} <&- 2>&1 | ${PAGER}"
trap "_preexec_flag=0; trap - RETURN;" RETURN