cli-visualizer icon indicating copy to clipboard operation
cli-visualizer copied to clipboard

[MacOS] The $ZSH folder already exists when trying to run ./install.sh

Open aravezskinteeth opened this issue 2 years ago • 0 comments

During the installation, I have run into a problem. OS: macOS Big Sur 11.4

Steps I did to get this error:

  1. I installed fftw and cmake
  2. Then, when I used $ brew tap homebrew/dupes, I got another error:
Error: homebrew/dupes was deprecated. This tap is now empty and all its contents were either deleted or migrated.
  1. I used $ brew tap homebrew/core instead, which seemed to work. Then, I installed ncurses.
  2. Then I ran the installation script in my home directory:
$ ./install.sh

I got another error:

zsh: permission denied: ./install.sh
  1. So I reviewed the permissions, ran this commands and got
$ ls -l ./install.sh
> .rw-r--r-- ./install.sh
$ sudo chmod -R 755 ./install.sh
$ ls -l ./install.sh
> .rwxr-xr-x ./install.sh
$ ./install.sh 
> The $ZSH folder already exists (/Users/user/.local/share/fig/plugins/ohmyzsh).
  1. I looked up the config file $ cd ~/.config/vis/config, but I couldn't find it either
  2. So I ran this and got this message.
$ ZSH= sh install.sh
> The $ZSH folder already exists (/Users/user/.oh-my-zsh).
> You'll need to remove it if you want to reinstall.

So what I got from this is that oh-my-zsh and fig is conflicting with the installation.

aravezskinteeth avatar Oct 19 '22 00:10 aravezskinteeth