A simple command-line tool to list all Nerd Font icons with their names and codepoints.
The tool fetches the Nerd Fonts CSS file and parses it to extract the icon information. The CSS file is cached locally to avoid repeated downloads.
- go
- A nerd font
To run the tool, use the following command (.local/bin needs to be in PATH):
make install
nf-listThis will output a list of all Nerd Font icons in the following format:
<icon-name> -> <hex-code> | <icon>
For example:
nf-dev-git -> f1d3 |
The repository also includes wrapper scripts for bash, zsh, and fish to integrate with fzf for interactive searching.
nfzf.bashnfzf.zshnfzf.fish
These scripts allow you to search for Nerd Font icons and copy the selected icon to your clipboard.
