summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorBen Hilburn <bhilburn@gmail.com>2016-04-19 22:23:43 +0300
committerBen Hilburn <bhilburn@gmail.com>2016-04-19 22:23:43 +0300
commit511bbcf124552de06a2343ed20bdc97f15a9df2e (patch)
tree2da69b6ef7806c6ae484957acafdcb48ee6045a8 /powerlevel9k.zsh-theme
parentfb1dae68e9c76487eae937c35b9103b5e77d0716 (diff)
parentb8087ba7f972ac543faf349758f2e8565c199892 (diff)
Merge pull request #247 from orhanbalci/next
rust icon added to rust segment
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-xpowerlevel9k.zsh-theme2
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index ed1c49cb..8bba6632 100755
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -691,7 +691,7 @@ prompt_rust_version() {
rust_version=$(rustc --version 2>&1 | grep -oe "^rustc\s*[^ ]*" | grep -o '[0-9.a-z\\\-]*$')
if [[ -n "$rust_version" ]]; then
- "$1_prompt_segment" "$0" "$2" "208" "$DEFAULT_COLOR" "Rust $rust_version"
+ "$1_prompt_segment" "$0" "$2" "208" "$DEFAULT_COLOR" "Rust $rust_version" 'RUST_ICON'
fi
}
# RSpec test ratio