From d07ee098aaf401f9f7cbfdbdac40f84a9b149630 Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Thu, 6 Aug 2015 00:37:06 +0200 Subject: [PATCH 1/4] Updated URL to powerline-fonts repository. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 49c08127..5dc61568 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## powerlevel9k Theme for ZSH Powerlevel9k is a theme for ZSH which uses [Powerline -Fonts](https://github.com/Lokaltog/powerline-fonts). It can be used with vanilla +Fonts](https://github.com/powerline/fonts). It can be used with vanilla ZSH, [Oh-My-Zsh](https://github.com/robbyrussell/oh-my-zsh), or [Prezto](https://github.com/sorin-ionescu/prezto), and can also be installed using [antigen](https://github.com/zsh-users/antigen). From 550c91e6ba78aca0d12cff87b7c3f9035fe49251 Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Thu, 6 Aug 2015 00:38:36 +0200 Subject: [PATCH 2/4] Updated URL to agnosters-theme repository. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5dc61568..424f130e 100644 --- a/README.md +++ b/README.md @@ -467,7 +467,7 @@ terminal, which should yield `256`. If you see something different, try setting #### Kudos This theme wouldn't have happened without inspiration from the original -[agnoster](https://gist.github.com/agnoster/3712874) Oh-My-ZSH theme. +[agnoster](https://github.com/agnoster/agnoster-zsh-theme) ZSH theme. Before creating this theme, I also tried [jeremyFreeAgent's theme](https://github.com/jeremyFreeAgent/oh-my-zsh-powerline-theme) and From 0159559c6a5552822cc0cd1d9a8610db76a174cf Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Sun, 9 Aug 2015 20:05:21 +0200 Subject: [PATCH 3/4] Added some hints about troubleshooting missing fonts. --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 424f130e..41e00402 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ this theme focus on four primary goals: - [Troubleshooting](#troubleshooting) - [Gaps Between Segments](#gaps-between-segments) - [Segment Colors are Wrong](#segment-colors-are-wrong) + - [Strange Characters in prompt](#strange-characters-in-prompt) - [Meta](#meta) - [Kudos](#kudos) - [Developing](#developing) @@ -462,6 +463,15 @@ terminal, which should yield `256`. If you see something different, try setting TERM=xterm-256color +#### Strange Characters in prompt + +If your prompt shows strange character like this: + +![](https://cloud.githubusercontent.com/assets/1544760/9156161/e0e584e6-3ed0-11e5-897a-2318a8e32d35.png) + +it is most likely that you set `POWERLEVEL9K_MODE="awesome-patched"`, but +did not install an [awesome-font](https://github.com/gabrielelana/awesome-terminal-fonts). For most other modes, you need a [powerline-patched](https://github.com/powerline/fonts) font. + ### Meta #### Kudos From 0831fa1041fa7b24ba09243723f5aa70c6a1411f Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Sat, 15 Aug 2015 16:09:31 +0200 Subject: [PATCH 4/4] Issue #74: Changed escape sequences for UTF-8 characters to lowercase for `compatible` and default mode. --- powerlevel9k.zsh-theme | 54 +++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 8cc2d570..4773ac59 100644 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -90,31 +90,31 @@ case $POWERLEVEL9K_MODE in VCS_HG_ICON="\UE1C3 " #  ;; 'compatible') - LEFT_SEGMENT_SEPARATOR="\U2B80" # ⮀ - RIGHT_SEGMENT_SEPARATOR="\U2B82" # ⮂ - ROOT_ICON="\U26A1" # ⚡ + LEFT_SEGMENT_SEPARATOR="\u2B80" # ⮀ + RIGHT_SEGMENT_SEPARATOR="\u2B82" # ⮂ + ROOT_ICON="\u26A1" # ⚡ RUBY_ICON='' AWS_ICON="AWS:" - BACKGROUND_JOBS_ICON="\U2699" # ⚙ + BACKGROUND_JOBS_ICON="\u2699" # ⚙ TEST_ICON='' - OK_ICON="\U2713" # ✓ - FAIL_ICON="\U2718" # ✘ + OK_ICON="\u2713" # ✓ + FAIL_ICON="\u2718" # ✘ SYMFONY_ICON="SF" APPLE_ICON='OSX' FREEBSD_ICON='BSD' LINUX_ICON='Lx' SUNOS_ICON='Sun' VCS_UNTRACKED_ICON='?' - VCS_UNSTAGED_ICON="\U25CF" # ● - VCS_STAGED_ICON="\U271A" # ✚ - VCS_STASH_ICON="\U235F" # ⍟ - VCS_INCOMING_CHANGES="\U2193" # ↓ - VCS_OUTGOING_CHANGES="\U2191" # ↑ + VCS_UNSTAGED_ICON="\u25CF" # ● + VCS_STAGED_ICON="\u271A" # ✚ + VCS_STASH_ICON="\u235F" # ⍟ + VCS_INCOMING_CHANGES="\u2193" # ↓ + VCS_OUTGOING_CHANGES="\u2191" # ↑ VCS_TAG_ICON='' - VCS_BOOKMARK_ICON="\U263F" # ☿ + VCS_BOOKMARK_ICON="\u263F" # ☿ VCS_COMMIT_ICON='' VCS_BRANCH_ICON='@' - VCS_REMOTE_BRANCH_ICON="\U2192" # → + VCS_REMOTE_BRANCH_ICON="\u2192" # → VCS_GIT_ICON='Git' VCS_HG_ICON='HG' ;; @@ -156,31 +156,31 @@ case $POWERLEVEL9K_MODE in *) # Powerline-Patched Font required! # See https://github.com/Lokaltog/powerline-fonts - LEFT_SEGMENT_SEPARATOR="\UE0B0" #  - RIGHT_SEGMENT_SEPARATOR="\UE0B2" #  - ROOT_ICON="\U26A1" # ⚡ + LEFT_SEGMENT_SEPARATOR="\uE0B0" #  + RIGHT_SEGMENT_SEPARATOR="\uE0B2" #  + ROOT_ICON="\u26A1" # ⚡ RUBY_ICON='' AWS_ICON="AWS:" - BACKGROUND_JOBS_ICON="\U2699" # ⚙ + BACKGROUND_JOBS_ICON="\u2699" # ⚙ TEST_ICON='' - OK_ICON="\U2713" # ✓ - FAIL_ICON="\U2718" # ✘ + OK_ICON="\u2713" # ✓ + FAIL_ICON="\u2718" # ✘ SYMFONY_ICON="SF" APPLE_ICON='OSX' FREEBSD_ICON='BSD' LINUX_ICON='Lx' SUNOS_ICON='Sun' VCS_UNTRACKED_ICON='?' - VCS_UNSTAGED_ICON="\U25CF" # ● - VCS_STAGED_ICON="\U271A" # ✚ - VCS_STASH_ICON="\U235F" # ⍟ - VCS_INCOMING_CHANGES="\U2193" # ↓ - VCS_OUTGOING_CHANGES="\U2191" # ↑ + VCS_UNSTAGED_ICON="\u25CF" # ● + VCS_STAGED_ICON="\u271A" # ✚ + VCS_STASH_ICON="\u235F" # ⍟ + VCS_INCOMING_CHANGES="\u2193" # ↓ + VCS_OUTGOING_CHANGES="\u2191" # ↑ VCS_TAG_ICON='' - VCS_BOOKMARK_ICON="\U263F" # ☿ + VCS_BOOKMARK_ICON="\u263F" # ☿ VCS_COMMIT_ICON='' - VCS_BRANCH_ICON="\UE0A0 " #  - VCS_REMOTE_BRANCH_ICON="\U2192" # → + VCS_BRANCH_ICON="\uE0A0 " #  + VCS_REMOTE_BRANCH_ICON="\u2192" # → VCS_GIT_ICON="" VCS_HG_ICON="" ;;