diff options
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rw-r--r-- | functions/icons.zsh | 10 | ||||
-rwxr-xr-x | test/segments/vcs.spec | 6 |
3 files changed, 13 insertions, 9 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b27a514..e991af28 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## next +## v0.6.0 - Fixed a bug where the tag display was broken on detached HEADs. - Fixed a bug where SVN detection sometimes failed. @@ -10,6 +10,10 @@ - Added Github syntax highlighting to README. - Various documentation cleanup. +### New Font Option: nerd-fonts + +There is now an option to use [nerd-fonts](https://github.com/ryanoasis/nerd-fonts) with P9k. Simply configure the `nerdfont-fontconfig`, and you'll be set! + ### `vcs` changes The VCS segment can now display icons for remote repo hosting services, including Github, Gitlab, and 'other'. diff --git a/functions/icons.zsh b/functions/icons.zsh index 25150c9b..26412543 100644 --- a/functions/icons.zsh +++ b/functions/icons.zsh @@ -66,7 +66,7 @@ case $POWERLEVEL9K_MODE in VCS_TAG_ICON $'\uE817 ' # VCS_BOOKMARK_ICON $'\uE87B' # VCS_COMMIT_ICON $'\uE821 ' # - VCS_BRANCH_ICON $'\uE220 ' # + VCS_BRANCH_ICON $'\uE220' # VCS_REMOTE_BRANCH_ICON $'\u2192' # → VCS_GIT_ICON $'\uE20E ' # VCS_GIT_GITHUB_ICON $'\uE20E ' # @@ -95,7 +95,7 @@ case $POWERLEVEL9K_MODE in CARRIAGE_RETURN_ICON $'\u21B5' # ↵ ROOT_ICON $'\uF201' # RUBY_ICON $'\uF219 ' # - AWS_ICON $'\uF296' # + AWS_ICON $'\uF270' # AWS_EB_ICON $'\U1F331 ' # 🌱 BACKGROUND_JOBS_ICON $'\uF013 ' # TEST_ICON $'\uF291' # @@ -129,7 +129,7 @@ case $POWERLEVEL9K_MODE in VCS_TAG_ICON $'\uF217 ' # VCS_BOOKMARK_ICON $'\uF27B' # VCS_COMMIT_ICON $'\uF221 ' # - VCS_BRANCH_ICON $'\uF126 ' # + VCS_BRANCH_ICON $'\uF126' # VCS_REMOTE_BRANCH_ICON $'\u2192' # → VCS_GIT_ICON $'\uF1D3 ' # VCS_GIT_GITHUB_ICON $'\uF113 ' # @@ -158,7 +158,7 @@ case $POWERLEVEL9K_MODE in CARRIAGE_RETURN_ICON $'\u21B5' # ↵ ROOT_ICON $'\u26A1' # ⚡ RUBY_ICON $'\uF219 ' # - AWS_ICON $'\uE7AD' # + AWS_ICON $'\uF270' # AWS_EB_ICON $'\U1F331 ' # 🌱 BACKGROUND_JOBS_ICON $'\uF013 ' # TEST_ICON $'\uF188' # @@ -248,7 +248,7 @@ case $POWERLEVEL9K_MODE in VCS_TAG_ICON '' VCS_BOOKMARK_ICON $'\u263F' # ☿ VCS_COMMIT_ICON '' - VCS_BRANCH_ICON $'\uE0A0 ' # + VCS_BRANCH_ICON $'\uE0A0' # VCS_REMOTE_BRANCH_ICON $'\u2192' # → VCS_GIT_ICON '' VCS_GIT_GITHUB_ICON '' diff --git a/test/segments/vcs.spec b/test/segments/vcs.spec index c33b564d..4467145e 100755 --- a/test/segments/vcs.spec +++ b/test/segments/vcs.spec @@ -21,7 +21,7 @@ function testColorOverridingForCleanStateWorks() { cd $FOLDER git init 1>/dev/null - assertEquals "%K{white} %F{cyan} master %k%F{white}%f " "$(build_left_prompt)" + assertEquals "%K{white} %F{cyan}master %k%F{white}%f " "$(build_left_prompt)" cd - rm -fr /tmp/powerlevel9k-test @@ -47,7 +47,7 @@ function testColorOverridingForModifiedStateWorks() { git commit -m "test" 1>/dev/null echo "test" > testfile - assertEquals "%K{yellow} %F{red} master ● %k%F{yellow}%f " "$(build_left_prompt)" + assertEquals "%K{yellow} %F{red}master ● %k%F{yellow}%f " "$(build_left_prompt)" cd - rm -fr /tmp/powerlevel9k-test @@ -68,7 +68,7 @@ function testColorOverridingForUntrackedStateWorks() { git init 1>/dev/null touch testfile - assertEquals "%K{yellow} %F{cyan} master ? %k%F{yellow}%f " "$(build_left_prompt)" + assertEquals "%K{yellow} %F{cyan}master ? %k%F{yellow}%f " "$(build_left_prompt)" cd - rm -fr /tmp/powerlevel9k-test |