summaryrefslogtreecommitdiffstats
path: root/bashrc/dist
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc/dist')
-rw-r--r--bashrc/dist/gentoo/common.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/bashrc/dist/gentoo/common.sh b/bashrc/dist/gentoo/common.sh
index 8ca2b64..03d98ad 100644
--- a/bashrc/dist/gentoo/common.sh
+++ b/bashrc/dist/gentoo/common.sh
@@ -2,10 +2,8 @@
# reset_screen_title is not available anymore, so we disable it before running
# emerge, and initialize it again afterwards
emerge() {
- export PROMPT_COMMAND=true
- trap true DEBUG
- /usr/bin/emerge "$@"
- init_preexec_hack
+ local PROMPT_COMMAND=true
+ /usr/bin/emerge "$@"
}
_load dist portdir