summaryrefslogtreecommitdiff
path: root/powerlevel9k.zsh-theme
diff options
context:
space:
mode:
authorDominik Ritter <dritter03@googlemail.com>2015-07-25 01:02:32 +0300
committerDominik Ritter <dritter03@googlemail.com>2015-07-25 01:02:32 +0300
commit84dfa02a89157896392be8d226153c7c0630ebe2 (patch)
tree25fb7c454c72a4bfba6adabea2db5e7d7ba0f363 /powerlevel9k.zsh-theme
parent880a715b9c5d0923f9ba45f2471d1f96cf562199 (diff)
Updated the os-icon prompt to newest coding guidelines.
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rw-r--r--powerlevel9k.zsh-theme8
1 files changed, 4 insertions, 4 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme
index d48b40b6..55fbb017 100644
--- a/powerlevel9k.zsh-theme
+++ b/powerlevel9k.zsh-theme
@@ -510,14 +510,14 @@ prompt_node_version() {
# print a little OS icon
prompt_os_icon() {
if [[ "$OS" == "Darwin" ]]; then
- LOGO="\uF8FF" # 
+ LOGO=$'\uF8FF' # 
elif [[ "$OS" == 'Linux' ]]; then
- LOGO="\u1F427" # 🐧
+ LOGO=$'\u1F427' # 🐧
elif [[ "$OS" == 'FreeBSD' ]]; then
- LOGO="\u1F608" # 😈
+ LOGO=$'\u1F608' # 😈
fi
- $1_prompt_segment $0 008 241 $LOGO
+ $1_prompt_segment "$0" "008" "241" "$LOGO"
}
# rbenv information