]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
add q alias
authorElan Ruusamäe <glen@delfi.ee>
Thu, 26 Feb 2015 21:44:02 +0000 (23:44 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Tue, 19 May 2015 08:59:52 +0000 (11:59 +0300)
shrc.sh

diff --git a/shrc.sh b/shrc.sh
index aceec77bc11ef1563b4888d6a1b28ed881ccb045..56c27b859e1e36425c20d396556e690a6c275c81 100755 (executable)
--- a/shrc.sh
+++ b/shrc.sh
@@ -40,6 +40,8 @@ ac-tag() {
        git push -f origin $branch
 }
 
+alias q='rpm -q --qf "%{N}-%|E?{%{E}:}|%{V}-%{R}.%{ARCH}\n"'
+
 # undo spec utf8
 # note: it will do it blindly, so any lang other than -pl is most likely broken
 specutfundo() {
This page took 0.096522 seconds and 4 git commands to generate.