summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2014-03-03 13:28:39 +0100
committerJan Pokorný <jpokorny@redhat.com>2014-03-03 13:28:39 +0100
commit1fe0e500324ad02a5e6d0f730eb299f271cf8b43 (patch)
tree2da66e3826fba74cb58df6a14fc6b5317cd6590c
parentec12b871b88ef1aff737500add980cef03468b91 (diff)
downloaddotfiles-1fe0e500324ad02a5e6d0f730eb299f271cf8b43.tar.gz
dotfiles-1fe0e500324ad02a5e6d0f730eb299f271cf8b43.tar.xz
dotfiles-1fe0e500324ad02a5e6d0f730eb299f271cf8b43.zip
Bash config: preexec paging hack: fix over-restrictive glob
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 61e3bf6..0c1da09 100644
--- a/.bashrc
+++ b/.bashrc
@@ -132,7 +132,7 @@ preexec() {
test ${BASH_SUBSHELL} -eq 0 && [[ ! "${1}" =~ .*\|.* ]] \
|| { _preexec_flag=0; return 0; }
case "$1" in
- colordiff\ *|diff\ *|find\ *|git\ ls-files|rpm\ *|sdcv\ *|yum\ list|yum\ search)
+ colordiff\ *|diff\ *|find\ *|git\ ls-files|rpm\ *|sdcv\ *|yum\ list*|yum\ search*)
_preexec_flag=1
eval "${1} <&- 2>&1 | ${PAGER}"
trap "_preexec_flag=0; trap - RETURN;" RETURN