gabrielelana / awesome-terminal-fonts

Tools and instructions on how to have awesome symbols in a terminal with a monospace font
MIT License
2.45k stars 230 forks source link

MIssing "python" (snake) icon #38

Closed diraol closed 7 years ago

diraol commented 7 years ago

If you can, please add a Python (Snake) icon ;) [would fix this for awesome-terminal-fonts users - https://github.com/bhilburn/powerlevel9k/issues/338]

DjMoren commented 7 years ago

@diraol, I'm in the same scenario, but I think that the problem here is that the Snake icon is not in Font-Awesome (actually v4.7) Maybe @gabrielelana can confirm this...

davidmpaz commented 7 years ago

Making a search on FA for python give no result for python. I did create a request for that #11098

Update:

Sorry. I just duplicated issue. Real one is here: https://github.com/FortAwesome/Font-Awesome/issues/3016

DjMoren commented 7 years ago

Meanwhile, if you came to this issue from powerlevel9k icons, you can set the code \ue63c (real python icon) instead of \U1F40D in icons.zsh file to see the real python icon served by devicons

gabrielelana commented 7 years ago

Actually the Python glyph it's already included in the devicons font, as @DjMoren wrote it's mapped to \ue63c. To make things easier and more stable anyone should always use variables to refer to glyphs and not codepoints (like \ue63c). With the last commit, after sourcing the devicons font map (source ~/.fonts/devicons-regular.sh) you can print the Python glyph with echo "\u$CODEPOINT_OF_DEVICONS_PYTHON"