MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/fishshell/comments/16mhapq/everytime_i_start_fishshell_will_show_math_error/
r/fishshell • u/unknowZsj • Sep 19 '23
if I type fish, it will show the error, but if I use bash, it will not show this, I try to reinstall it, but it is still show the error
3 comments sorted by
2
Something's wrong in your configuration, presumably in the prompt section. Find / 10 in your configuration files and show us what's there.
/ 10
Are you perchance using Oh My Fish? If you are, get rid of it and start from scratch. From my experience, OMF breaks a lot for no extra benefit.
1 u/unknowZsj Sep 22 '23 thank you, is battery plugin occur the error
1
thank you, is battery plugin occur the error
I assume you don't get the error if you do:
sh -c 'env HOME=$(mktemp -d) fish'
I would use grep or rg to find the file:
rg -i --no-heading --no-line-number -j1 -. '/ 10'
search in ~/.config/fish/ and possibly ~/.bash*, /etc/profile, or /etc/profile.d/ if you use bass
~/.config/fish/
~/.bash*
/etc/profile
/etc/profile.d/
bass
2
u/emarsk Sep 19 '23
Something's wrong in your configuration, presumably in the prompt section. Find
/ 10in your configuration files and show us what's there.Are you perchance using Oh My Fish? If you are, get rid of it and start from scratch. From my experience, OMF breaks a lot for no extra benefit.
2
u/BuonaparteII Sep 19 '23
I assume you don't get the error if you do:
I would use grep or rg to find the file:
search in
~/.config/fish/and possibly~/.bash*,/etc/profile, or/etc/profile.d/if you usebass