summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2009-07-05 23:13:02 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2009-07-05 23:13:02 +0200
commitcbe58c2b9e8d71c3a4dd06cea1429ddb001f78ab (patch)
tree008552865bdc1bc66c2e96e9a99bc6cf0ea5d3b9 /bashrc
parent70da59dbfa67d201d2c58c656e24f28d216d83bf (diff)
downloaddotfiles-cbe58c2b9e8d71c3a4dd06cea1429ddb001f78ab.tar.gz
dotfiles-cbe58c2b9e8d71c3a4dd06cea1429ddb001f78ab.tar.xz
dotfiles-cbe58c2b9e8d71c3a4dd06cea1429ddb001f78ab.zip
changed emerge alias to deal with PROMPT_COMMAND
Diffstat (limited to 'bashrc')
-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