add re() function

This commit is contained in:
Ray Elliott 2020-05-18 19:35:01 +01:00
parent ca48386e22
commit 9831ab8647
1 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,10 @@ smartresize() {
mogrify -path "$3" -filter Triangle -define filter:support=2 -thumbnail "$2" -unsharp 0.25x0.08+8.3+0.045 -dither None -posterize 136 -quality 82 -define jpeg:fancy-upsampling=off -define png:compression-filter=5 -define png:compression-level=9 -define png:compression-strategy=1 -define png:exclude-chunk=all -interlace none -colorspace sRGB "$1"
}
re() {
git clone ssh://git@git.rayelliott.dev:3222/rayelliott/"$1".git $2
}
mc() {
mkdir "$1" && cd "$1"
}