diff options
author | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2024-07-28 23:05:45 -0400 |
---|---|---|
committer | Ibrahim Mkusa <ibrahimmkusa@gmail.com> | 2024-07-28 23:05:45 -0400 |
commit | 8c4a6f932b129df4f9a63b7b2e2bcaea6f215866 (patch) | |
tree | d51cea169cae19b05025a0b26670a9a09505e8fe /shellenv/.functions |
Took snapshot of my main dotfiles
Diffstat (limited to 'shellenv/.functions')
-rw-r--r-- | shellenv/.functions | 16 |
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=$@ ; +} |