dots/shellenv/.functions
Ibrahim Mkusa 0aeed1ae8f
Some checks failed
tests / Lint (push) Failing after 20s
cleanup obsolete settings
2024-12-04 08:55:05 -05:00

21 lines
346 B
Bash

#!/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=$@ ;
}
apdoc () {
ansible-doc $1 | grep EXAMPLES -A 100 | less
}