summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index 58a0c96..c8014dc 100644
--- a/bashrc
+++ b/bashrc
@@ -29,7 +29,7 @@ showimage() {
local pkg
pkg=$1
pkg="${pkg:=*/*}"
- cd /var/tmp/portage/$pkg-*/image || return 1
+ cd $(portageq envvar PORTAGE_TMPDIR)/portage/$pkg-*/image || return 1
find . -not -type d -print0 | xargs -0r ls -lvhF --color=auto
du -shc */*
)