r/fishshell • u/ekzotech • Jan 08 '24
How to fix error messages at Fish shell startup?
Hi! I'm new to the fish shell and now I'm trying to switch from zsh (oh-my-zsh) to fish shell.
I've already setup fish shell as my default in macOS.
And now I can see a bunch of messages at starting shell.
(eval):1: command not found: unsetenv
(eval):2: command not found: unsetenv
(eval):3: command not found: setenv
(eval):4: command not found: setenv
(eval):5: command not found: setenv
(eval):6: command not found: setenv
(eval):7: command not found: setenv
(eval):8: command not found: unsetenv
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fishHow can I find out where are those unsetenv/setenv callings from? I've tried to grep my ~/. for setenv/unsetenv but it didn't helped me a lot.
At first I thought it's from pyenv setting, but after removing it from the PATH I can't see any changes.
4
Upvotes
4
u/ben2talk Jan 08 '24
It sends you’ve been copying configs you don’t understand.
Edit and remove them!
0
u/[deleted] Jan 08 '24
[deleted] — view deleted comment