diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-10-18 14:30:24 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-10-18 14:30:24 +0100 |
commit | 552a1414005761a8003e923f12501b3672c8e328 (patch) | |
tree | b2ed3c8ae9ac2ca86107e449fb6719e0174dae77 | |
parent | Add valgrind wrapper (diff) | |
download | util-552a1414005761a8003e923f12501b3672c8e328.tar.bz2 util-552a1414005761a8003e923f12501b3672c8e328.tar.xz util-552a1414005761a8003e923f12501b3672c8e328.zip |
Add ebuild show image helper
-rw-r--r-- | bashrc | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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)}) |