'how to remove powerlevel9 from terminal

imac/macos Catalina 10.15.4

I installed the powerlevel9 theme for zsh in iterm2, didn't like it and cannot get rid of it. I have edited the .zshrc file back to robbyrussell but that has no effect. I actually uninstalled iterm2 and when I opened terminal, powerlevel9 was there too. I stopped it running with prompt_powerlevel9k_teardown but it must still be lurking somewhere.

The repo, https://github.com/Powerlevel9k/powerlevel9k, gives no directions for removing powerlevel9 so I am not tempted to try powerlevel10.



Solution 1:[1]

Remove powerlevel9 resolved: I found these lines at the bottom of the .zshrc file. I commented them out which solved the problem so now I could just delete them.

# export NVM_DIR="/Users/EJR/.nvm"
# [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm
#source /usr/local/opt/powerlevel9k/powerlevel9k.zsh-theme

Solution 2:[2]

When downloaded from Github source and manually changed, please comment out ZSH_THEME env var:

# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
# ZSH_THEME="powerlevel9k/powerlevel9k"

Solution 3:[3]

People coming here in 2022, follow their official documentation to uninstall https://github.com/romkatv/powerlevel10k#how-do-i-uninstall-powerlevel10k will take not more than a minute.

And with this line in the installation process, makes it so easy The command to delete them depends on which installation method you'd chosen. Refer to the installation instructions if you need a reminder.

Cheers ?

Solution 4:[4]

There is no "install" for powerlevel9k - it's just a directory with the code in it. To "uninstall" it, simply delete the directory where you downloaded the code.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ecodoc
Solution 2 Hunter_71
Solution 3 Dynamic Remo
Solution 4 maxthestranger