summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 1416a5d..8faa268 100644
--- a/.bashrc
+++ b/.bashrc
@@ -135,7 +135,7 @@ preexec() {
case "$1" in
rpm\ *|yum\ list\ *)
_preexec_flag=1
- ${1} <&- 2>&1 | ${PAGER}
+ eval "${1} <&- 2>&1 | ${PAGER}"
trap "_preexec_flag=0; trap - RETURN;" RETURN
return 2
;;