mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-16 09:50:06 +00:00
Updated the os-icon prompt to newest coding guidelines.
This commit is contained in:
parent
880a715b9c
commit
84dfa02a89
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue