diff options
author | Jan Pokorný <jpokorny@redhat.com> | 2013-08-09 21:22:35 +0200 |
---|---|---|
committer | Jan Pokorný <jpokorny@redhat.com> | 2013-08-09 21:22:35 +0200 |
commit | 5144679b87893d8e5fd187fcdf6fc2a1ba85478f (patch) | |
tree | 646e0561cfab686f12b98ad78878ec7056254eb6 /.bashrc-fedora | |
parent | 86f55d875e4427ab3a7ccf9c2343385868fd749e (diff) | |
download | dotfiles-5144679b87893d8e5fd187fcdf6fc2a1ba85478f.tar.gz dotfiles-5144679b87893d8e5fd187fcdf6fc2a1ba85478f.tar.xz dotfiles-5144679b87893d8e5fd187fcdf6fc2a1ba85478f.zip |
Fedora-favored bash config: re pkgdiff command: add reference
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to '.bashrc-fedora')
-rw-r--r-- | .bashrc-fedora | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.bashrc-fedora b/.bashrc-fedora index 4a4e01a..4d50729 100644 --- a/.bashrc-fedora +++ b/.bashrc-fedora @@ -22,6 +22,7 @@ pkgdep() { rm -f -- ${TMPFILE} } +# see http://superuser.com/questions/194928/view-configuration-file-changes-with-rpm-or-yum pkgdiff() { rpm -V "$1" | cut -d/ -f2- | xargs -I{} rpmpeek \ <(curl -- $(yumdownloader --urls $(rpm -q "$1") | sed -n '/^http/{s|//|/|2;p}')) \ |