From 8c4a6f932b129df4f9a63b7b2e2bcaea6f215866 Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Sun, 28 Jul 2024 23:05:45 -0400 Subject: Took snapshot of my main dotfiles --- shellenv/.functions | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 shellenv/.functions (limited to 'shellenv/.functions') 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=$@ ; +} -- cgit v1.2.3