Updated the os-icon prompt to newest coding guidelines.

pull/22/head
Dominik Ritter 10 years ago
parent 880a715b9c
commit 84dfa02a89

@ -510,14 +510,14 @@ prompt_node_version() {
# print a little OS icon # print a little OS icon
prompt_os_icon() { prompt_os_icon() {
if [[ "$OS" == "Darwin" ]]; then if [[ "$OS" == "Darwin" ]]; then
LOGO="\uF8FF" #  LOGO=$'\uF8FF' # 
elif [[ "$OS" == 'Linux' ]]; then elif [[ "$OS" == 'Linux' ]]; then
LOGO="\u1F427" # 🐧 LOGO=$'\u1F427' # 🐧
elif [[ "$OS" == 'FreeBSD' ]]; then elif [[ "$OS" == 'FreeBSD' ]]; then
LOGO="\u1F608" # 😈 LOGO=$'\u1F608' # 😈
fi fi
$1_prompt_segment $0 008 241 $LOGO $1_prompt_segment "$0" "008" "241" "$LOGO"
} }
# rbenv information # rbenv information

Loading…
Cancel
Save