diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2014-03-03 13:28:39 +0100 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2014-03-03 13:28:39 +0100 |
commit | 1fe0e500324ad02a5e6d0f730eb299f271cf8b43 (patch) | |
tree | 2da66e3826fba74cb58df6a14fc6b5317cd6590c /.bashrc | |
parent | ec12b871b88ef1aff737500add980cef03468b91 (diff) | |
download | dotfiles-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>
Diffstat (limited to '.bashrc')
-rw-r--r-- | .bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |