ChesterYue / ohmyzsh-theme-passion

An oh-my-zsh theme.
MIT License
294 stars 135 forks source link

Get this error message "...parse error near /-n" #8

Open acrobat88 opened 2 years ago

acrobat88 commented 2 years ago

Hi installed ZSH and copied the passion.zsh-theme to the /custom/theme folder. installed coreutil, also reinstalled it. still get the error message

.oh-my-zsh/custom/themes/passion.zsh-theme:8: parse error near\n'`

when i relaunch with source ~/.zshrc

ans solution?

greetings to shenzhen!

Ben

acrobat88 commented 2 years ago

any idea?

ChesterYue commented 2 years ago

any idea?

some env detail? such as OS version?ZSH version?

acrobat88 commented 2 years ago

oh of course

zsh --> zsh 5.8 (x86_64-apple-darwin21.0) osx --> 12.1 osx monterey

wanted to pimp up the terminal at the mac with zsh and your nice theme. changed the theme name in the conf file but i got the error

thanks for the help

ChesterYue commented 2 years ago

oh of course

zsh --> zsh 5.8 (x86_64-apple-darwin21.0) osx --> 12.1 osx monterey

wanted to pimp up the terminal at the mac with zsh and your nice theme. changed the theme name in the conf file but i got the error

thanks for the help

https://github.com/ChesterYue/ohmyzsh-theme-passion/blob/11b1a03575ac826646ec438f6390a077a0bd85d4/passion.zsh-theme#L8

  1. some issue at here.
  2. have you install coreutils?
ChesterYue commented 2 years ago

oh of course

zsh --> zsh 5.8 (x86_64-apple-darwin21.0) osx --> 12.1 osx monterey

wanted to pimp up the terminal at the mac with zsh and your nice theme. changed the theme name in the conf file but i got the error

thanks for the help

  1. try gdate in terminal.
  2. try remove the echo line above.
acrobat88 commented 2 years ago

Thanks worked! replaced the passion.zsh-theme file from the ohmyzsh page with your github file and it worked!

thanks for your time. was the last years in futian, shenzhen is a crazy and nice city and so big! with alls the differetn places like seaworld and and and...have fun and "feichang ganxie"!

ChesterYue commented 2 years ago

Thanks worked! replaced the passion.zsh-theme file from the ohmyzsh page with your github file and it worked!

thanks for your time. was the last years in futian, shenzhen is a crazy and nice city and so big! with alls the differetn places like seaworld and and and...have fun and "feichang ganxie"!

lol, where are you came from? Travelled during the epidemic?

acrobat88 commented 2 years ago

im from berlin/germany. no was the years before the pademic. we had a freestyle motorcross show in the shenzhen stadium stadium and lived in the middle of huaqign. its way better to daqing shi or wuhan haha i liked it its so full of life and crazy

ChesterYue commented 2 years ago

im from berlin/germany. no was the years before the pademic. we had a freestyle motorcross show in the shenzhen stadium stadium and lived in the middle of huaqign. its way better to daqing shi or wuhan haha i liked it its so full of life and crazy

berlin/germany and freestyle motorcross? WOW, thats crazy! enjoy!

acrobat88 commented 2 years ago

Yes of course! haha ist nice to have fun in Shenzhen!!

but back to the technical stuff, still have some questions. Hope its okay?!

Time and the colored angles brackets in front of the cursor are shown, but:

how can i enable the:

And the most important

greetings and thanks for your help and work!

acrobat88 commented 2 years ago

Or are these function which i have to enable at the zsh config?

acrobat88 commented 2 years ago

??