Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I uninstall completely oh my fish? omf destroy does not uninstall omf #919

Open
GittyMejorado opened this issue Oct 4, 2022 · 7 comments

Comments

@GittyMejorado
Copy link

How can I uninstall completely oh my fish?
omf destroy does not uninstall omf

I asked a question but it was canceled because it was already answered, but the answer is confusing, it's supposed to just uninstall and reinstall omf
If omf no longer works with the configuration that I had, I will change to another option, my previous question was:

I have updated fish and then omf, when updating omf it throws me the error:
Could not update colored_man_pages.fish.
Also lolcat no longer colors the greeting configured in the file fish_greeting.fish
And also when I open a terminal directly from the Dolphin file browser, it no longer puts the terminal in the directory where I am, the terminal opens directly in home.
Before when I opened a terminal directly from Dolphin I was placed in the directory where I was in Dolphin, for example if I was in Dolphin in etc/conky, the terminal opened directly in the etc/conky directory.
How can I solve the above?

I leave the data that omf doctor throws:

Oh My Fish version: 7
OS type: Linux
Fish version: fish, version 3.5.1
Git version: git version 2.25.1
Git core.autocrlf: no
Checking for a sane environment...
Your shell is ready to swim.

@scorphus
Copy link
Member

scorphus commented Oct 4, 2022

I am sorry you're having issues. Let's get them solved!

Please share the contents of:

  1. The config.fish file:

    cat ~/.config/fish/config.fish
    
  2. The conf.d directory:

    ls -lha ~/.config/fish/conf.d/
    
  3. The functions directory:

    ls -lha ~/.config/fish/functions/
    

@GittyMejorado
Copy link
Author

Thank you very much for your attention and response.

The result of the 3 commands is:

Screenshot_20221006_025202

@scorphus
Copy link
Member

Thanks for your reply.

You can either comment the contents of omf.fish inside conf.d or remove the file. To get rid of Oh My Fish repository, remove the $HOME/.local/share/omf directory.

⚠️ Extra caution is always needed when removing directories/files 😊

Still, It would be useful to understand why omf destroy does not work on your setup. One would expect the following:

Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
⋊> ~ omf destroy
Checking for a sane environment...
This will uninstall Oh My Fish and all plugins and themes from
/home/nemo/.local/share/omf.
read> yes
Uninstalling from /home/nemo/.local/share/omf...
Uninstall complete
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
nemo@71f1b72ec2c9 ~>

Would you please share what you get instead?

@chanced
Copy link

chanced commented Nov 20, 2022

omf destroy doesn't work for me either.

❯ omf destroy                                                                                                                                                                                                                                                                                                                                                                                                            ⬢ v19.1.0
Checking for a sane environment...
This will uninstall Oh My Fish and all plugins and themes from
/Users/chance/.local/share/omf.
read>
Install aborted: Failed to read from tty

Oh My Fish installation failed.

Anything entered into the read> prompt aborts.

@Dzemy
Copy link

Dzemy commented Dec 6, 2022

Hi guys, same for me, i installed omf on wsl debian and there was some issues, so I want reinstall it. But i cant, coz there is same bug as @chanced have. I also try use installer, but its same. Its stucked on read> forever and only think I can do is terminate it.

image

@scorphus
Copy link
Member

Sorry you're having issues with OMF and uninstallation. Can you please try again and type y at the read> prompt?

image

From the screenshot you posted, I can see you have vi-mode enabled. You might have enabled it yourself of it may have been done by a theme you installed. In either case, the following issues may help:

@thekatt85
Copy link

omf destroy doesn't work for me either.

❯ omf destroy                                                                                                                                                                                                                                                                                                                                                                                                            ⬢ v19.1.0
Checking for a sane environment...
This will uninstall Oh My Fish and all plugins and themes from
/Users/chance/.local/share/omf.
read>
Install aborted: Failed to read from tty

Oh My Fish installation failed.

Anything entered into the read> prompt aborts.

typing yes did uninstall ohmyfish. oh wait...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants