arialdomartini / oh-my-git-themes Goto Github PK
View Code? Open in Web Editor NEWThemes of the ZSH version of oh-my-git prompt
Themes of the ZSH version of oh-my-git prompt
A README which contains screenshots of each of the 3 themes would be helpful and a time-saver.
I use Terminal on Mac OSX. I had to install the font in /Library/Fonts and then I open preferences for Terminal. Go to Profiles > Text and then I changed the Font for the Profile I was using. Restarted Terminal and everything working as expected.
Hope this helps someone else out there :)
In oppa-lana-style.zsh-theme the symbols are assigned hardcoded unicode character. For example "is_a_git_repo" is symbol number E20E:
: ${omg_is_a_git_repo_symbol:=''}
This is the correct position in the patched "awesome" font:
CODEPOINT_OF_AWESOME_GITHUB_ALT='e20e'
But when using the "fallback" strategy and thus the regular "awesome" font the position is F113:
CODEPOINT_OF_AWESOME_GITHUB_ALT='f113'
Wouldn't it be better to use the "font map" approach, and consider the environment variables like this? Then it would work for both cases.
omg_is_a_git_repo_symbol="\u${CODEPOINT_OF_AWESOME_GITHUB_ALT}"
omg_has_untracked_files_symbol="\u${CODEPOINT_OF_AWESOME_TINT}"
omg_has_adds_symbol="\u${CODEPOINT_OF_AWESOME_PLUS}"
omg_has_deletions_symbol="\u${CODEPOINT_OF_AWESOME_MINUS}"
omg_has_cached_deletions_symbol="\u${CODEPOINT_OF_OCTICONS_X}"
omg_has_modifications_symbol="\u${CODEPOINT_OF_OCTICONS_PENCIL}"
omg_has_cached_modifications_symbol="\u${CODEPOINT_OF_OCTICONS_FILE_TEXT}"
omg_ready_to_commit_symbol="\u${CODEPOINT_OF_AWESOME_SIGNIN}"
omg_is_on_a_tag_symbol="\u${CODEPOINT_OF_AWESOME_TAG}"
omg_needs_to_merge_symbol="\u1109"
omg_detached_symbol="\u${CODEPOINT_OF_AWESOME_UNLINK}"
omg_can_fast_forward_symbol="\u${CODEPOINT_OF_AWESOME_DOUBLE_ANGLE_UP}"
omg_has_diverged_symbol="\u${CODEPOINT_OF_OCTICONS_GIT_BRANCH}"
omg_not_tracked_branch_symbol="\u${CODEPOINT_OF_AWESOME_LAPTOP}"
omg_rebase_tracking_branch_symbol="\u${CODEPOINT_OF_OCTICONS_GIT_PULL_REQUEST}"
omg_merge_tracking_branch_symbol="\u${CODEPOINT_OF_OCTICONS_GIT_MERGE}"
omg_should_push_symbol="\u${CODEPOINT_OF_OCTICONS_CLOUD_UPLOAD}"
omg_has_stashes_symbol="\u${CODEPOINT_OF_AWESOME_STAR}"
omg_has_action_in_progress_symbol="\u${CODEPOINT_OF_AWESOME_WRENCH}"
A README which explained how to use or install the themes would be nice…
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.