diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2014-02-25 20:00:42 +0100 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2014-02-25 20:00:42 +0100 |
commit | c9e5ad3366a72373e0a6daf1fd3e3c3bad1330ca (patch) | |
tree | 160cf962d3cc40a8cf00a0e8ebb5a85ca9382464 | |
parent | d9c8e4d1b4bda0ce9b449149e425d0996976e880 (diff) | |
download | dotfiles-c9e5ad3366a72373e0a6daf1fd3e3c3bad1330ca.tar.gz dotfiles-c9e5ad3366a72373e0a6daf1fd3e3c3bad1330ca.tar.xz dotfiles-c9e5ad3366a72373e0a6daf1fd3e3c3bad1330ca.zip |
Bash config: preexec paging hack: add "git ls-files" to list
...which now follows alphabetical order as expected
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-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 - rpm\ *|yum\ list\ *|find\ *) + find\ *|git\ ls-files|rpm\ *|yum\ list) _preexec_flag=1 eval "${1} <&- 2>&1 | ${PAGER}" trap "_preexec_flag=0; trap - RETURN;" RETURN |