Example #
Setup #
-
save the
shadow.flf
file from https://github.com/xero/figlet-fonts or the raw file to$HOME/.config/figlet/Shadow
-
Or for convenience use the command:
curl https://raw.githubusercontent.com/xero/figlet-fonts/master/ANSI%20Shadow.flf > $HOME/.config/figlet/Shadow.flf
Usage #
- Run
figlet -f "$HOME/.config/figlet/Shadow"
- Can also add the line bellow to
.zshrc
or.bashrc
as an alias for easier use
figlets='figlet -f "$HOME/.config/figlet/Shadow"'
E.g.
$ figlets "hello world"
██╗ ██╗███████╗██╗ ██╗ ██████╗
██║ ██║██╔════╝██║ ██║ ██╔═══██╗
███████║█████╗ ██║ ██║ ██║ ██║
██╔══██║██╔══╝ ██║ ██║ ██║ ██║
██║ ██║███████╗███████╗███████╗╚██████╔╝
╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝ ╚═════╝
██╗ ██╗ ██████╗ ██████╗ ██╗ ██████╗
██║ ██║██╔═══██╗██╔══██╗██║ ██╔══██╗
██║ █╗ ██║██║ ██║██████╔╝██║ ██║ ██║
██║███╗██║██║ ██║██╔══██╗██║ ██║ ██║
╚███╔███╔╝╚██████╔╝██║ ██║███████╗██████╔╝
╚══╝╚══╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚═════╝
Alternatives #
You can also use this ASCII generator online for similar use cases