summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc11
1 files changed, 11 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index c69b2b8..f6a0f56 100644
--- a/bashrc
+++ b/bashrc
@@ -16,6 +16,17 @@ diffWith() {
( gvim -f $diffFile ; rm $diffFile ) &
}
+showimage() {
+ (
+ local pkg
+ pkg=$1
+ pkg="${pkg:=*/*}"
+ cd /var/tmp/portage/$pkg-*/image || return 1
+ find . -not -type d -print0 | xargs -0r ls -lvhF --color=auto
+ du -shc */*
+ )
+}
+
cov() {
src=${1}
src=$(realpath ${src:=$(pwd)})