Summary Files Commits Branches @commit @diff @stats
path: root / bash
diff options
context:
space:
mode:
1 files changed, 6 insertions, 0 deletions
-rw-r--r--bash/.bashrc6
diff --git a/bash/.bashrc b/bash/.bashrc
index d8e7ac0..0bae8a1 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -514,6 +514,12 @@ EOF
bgr "nemo ./"
}
+ png-reduce () {
+ pngcrush -reduce -brute "$1" temp.png || return "$?"
+ rm "$1"
+ mv temp.png "$1"
+ }
+
alias q="exit"
alias x="exit"