haithembelhaj / oh-my-cygwin

Setup a functioning terminal for Windows
388 stars 61 forks source link

fatal: destination path '/home/admin/.oh-my-zsh' already exists and is not an empty directory. #11

Open yingjun opened 9 years ago

yingjun commented 9 years ago

File ‘gitk-2.1.1-1.tar.xz’ already there; not retrieving. Unpacking... bunzip2: (stdin) is not a bzip2 file. tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors Package gitk requires the following packages, installing: bash tcl-tk git cygwin Package bash is already installed, skipping Package tcl-tk is already installed, skipping Package git is already installed, skipping Package cygwin is already installed, skipping Package gitk installed fatal: destination path '/home/admin/.oh-my-zsh' already exists and is not an empty directory.

wfortin commented 9 years ago

+1 I have the same error...

yingjun commented 9 years ago

@wfortin here is way work around. edit that shell file, remote or comment this line git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

then manually download zsh to you ~/.oh-my-zsh

and run the shell.

clarkzjw commented 9 years ago

It's because ~/.oh-my-zsh folder already exists. Is it because you ran the install script for the second time?

You can simply delete ~/.oh-my-zsh and run the script again.

haithembelhaj commented 9 years ago

Sorry guys this project is depracated. Please feel free to fork it

dani54196 commented 2 years ago

first uninstall oh-my-zsh this way rm -rf ~/.oh-my-zsh rm ~/.zshrc cp ~/.zshrc.pre-oh-my-zsh ~/.zshrc source ~/.zshrc after that install again sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"