]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - zsh/functions/figlet-sample.zsh
Update deps, fix for linux
[rbdr/dotfiles] / zsh / functions / figlet-sample.zsh
... / ...
CommitLineData
1# Print a string with all the figlet fonts
2figlet-sample () {
3 if [[ -n "${1+x}" ]]
4 then
5 ls -FG `figlet -I 2` | grep --color=auto 'flf' | xargs -I '{}' basename '{}' '.flf' | xargs -I '{}' figlet -f '{}' $1
6 else
7 echo 'Usage: figlet-sample <string>'
8 fi
9}