mc - mkdir and cd
This commit is contained in:
parent
cc67c8abbd
commit
32fd8fbfbc
|
@ -62,3 +62,7 @@ fi
|
||||||
smartresize() {
|
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"
|
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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mc() {
|
||||||
|
mkdir "$1" && cd "$1"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue