aboutsummaryrefslogtreecommitdiff
path: root/shellenv/.functions
diff options
context:
space:
mode:
Diffstat (limited to 'shellenv/.functions')
-rw-r--r--shellenv/.functions16
1 files changed, 16 insertions, 0 deletions
diff --git a/shellenv/.functions b/shellenv/.functions
new file mode 100644
index 0000000..5ef65fa
--- /dev/null
+++ b/shellenv/.functions
@@ -0,0 +1,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=$@ ;
+}