diff options
author | Ben Hilburn <bhilburn@gmail.com> | 2016-12-21 18:22:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-21 18:22:13 +0300 |
commit | 3a3238444d96f278d5898a521db6e563e9e41f3d (patch) | |
tree | 97126f99d4420cd3aae653b0031323facc36a8d9 /functions/icons.zsh | |
parent | 5ea003bf5e25db56c97909aa273858be4a65217f (diff) | |
parent | f2cac2273a662127cf9dc25471047cdd0c116701 (diff) |
Merge pull request #360 from davidmpaz/icon_by_repo
Display different icons depending on remote type in VCS segment.
Diffstat (limited to 'functions/icons.zsh')
-rw-r--r-- | functions/icons.zsh | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/functions/icons.zsh b/functions/icons.zsh index bd1cfa06..06d6ab20 100644 --- a/functions/icons.zsh +++ b/functions/icons.zsh @@ -68,6 +68,9 @@ case $POWERLEVEL9K_MODE in VCS_BRANCH_ICON $'\uE220' # VCS_REMOTE_BRANCH_ICON ' '$'\uE804 ' # VCS_GIT_ICON $'\uE20E ' # + VCS_GIT_GITHUB_ICON $'\uE20E ' # + VCS_GIT_BITBUCKET_ICON $'\uE20E ' # + VCS_GIT_GITLAB_ICON $'\uE20E ' # VCS_HG_ICON $'\uE1C3 ' # VCS_SVN_ICON '(svn) ' RUST_ICON '' @@ -122,7 +125,10 @@ case $POWERLEVEL9K_MODE in VCS_COMMIT_ICON $'\uF221 ' # VCS_BRANCH_ICON $'\uF126' # VCS_REMOTE_BRANCH_ICON ' '$'\uF204 ' # - VCS_GIT_ICON $'\uF113 ' # + VCS_GIT_ICON $'\uF1D3 ' # + VCS_GIT_GITHUB_ICON $'\uF113 ' # + VCS_GIT_BITBUCKET_ICON $'\uF171 ' # + VCS_GIT_GITLAB_ICON $'\uF296 ' # VCS_HG_ICON $'\uF0C3 ' # VCS_SVN_ICON '(svn) ' RUST_ICON $'\uE6A8' # @@ -178,9 +184,12 @@ case $POWERLEVEL9K_MODE in VCS_BRANCH_ICON $'\uE0A0 ' # VCS_REMOTE_BRANCH_ICON $'\u2192' # → VCS_GIT_ICON '' + VCS_GIT_GITHUB_ICON '' + VCS_GIT_BITBUCKET_ICON '' + VCS_GIT_GITLAB_ICON '' VCS_HG_ICON '' VCS_SVN_ICON '' - RUST_ICON '' + RUST_ICON '' PYTHON_ICON '' SWIFT_ICON 'Swift' ) |