source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/dotenv.zsh"
source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/graphviz.zsh"
source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/short-uptime.zsh"
+source "${ZDOTDIR:-$HOME}/.dotfiles/zsh/functions/figlet-sample.zsh"
################################################################################
# Load Modules
--- /dev/null
+# Print a string with all the figlet fonts
+figlet-sample () {
+ if [[ -n "${1+x}" ]]
+ then
+ ls -FG `figlet -I 2` | grep --color=auto 'flf' | xargs -I '{}' basename '{}' '.flf' | xargs -I '{}' figlet -f '{}' $1
+ else
+ echo 'Usage: figlet-sample <string>'
+ fi
+}
if [[ -n "${1+x}" ]]; then
neato -Tpng $1 -o ${1%.*}.png
else
- echo 'Usage: dot-to-png <path_to_file>'
+ echo 'Usage: neat-to-png <path_to_file>'
fi
}