1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

Updated the os-icon prompt to newest coding guidelines.

This commit is contained in:
Dominik Ritter 2015-07-25 00:02:32 +02:00
parent 880a715b9c
commit 84dfa02a89

View file

@ -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