aboutsummaryrefslogtreecommitdiff
path: root/shellenv/.functions
blob: 5ef65fa43530423df049ab73be9f38b5f400d888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

today() {
	echo -n "Today's date is: "
	date +"%A, %B %-d, %Y"
}

# Create a new directory and enter it
function mkd() {
	mkdir -p "$@" && cd "$_";
}

pdfmerge() {
    gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -dPDFSETTTINGS=/prepress\
         -sOutputFile=$@ ;
}