ohmyzsh-theme-passion icon indicating copy to clipboard operation
ohmyzsh-theme-passion copied to clipboard

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

Open acrobat88 opened this issue 2 years ago • 12 comments

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 avatar Dec 09 '21 20:12 acrobat88

any idea?

acrobat88 avatar Dec 16 '21 14:12 acrobat88

any idea?

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

ChesterYue avatar Dec 16 '21 14:12 ChesterYue

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

acrobat88 avatar Dec 16 '21 14:12 acrobat88

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 avatar Dec 16 '21 15:12 ChesterYue

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.

ChesterYue avatar Dec 16 '21 16:12 ChesterYue

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"!

acrobat88 avatar Dec 16 '21 17:12 acrobat88

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?

ChesterYue avatar Dec 16 '21 17:12 ChesterYue

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

acrobat88 avatar Dec 16 '21 17:12 acrobat88

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!

ChesterYue avatar Dec 16 '21 18:12 ChesterYue

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:

  • real time prompt.
  • command running time cost prompt.
  • command running error hint.

And the most important

  • the great infos at the bottom like the cpu and network infos?

greetings and thanks for your help and work!

acrobat88 avatar Dec 17 '21 16:12 acrobat88

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

acrobat88 avatar Dec 18 '21 01:12 acrobat88

??

acrobat88 avatar Jan 03 '22 08:01 acrobat88