haithembelhaj / oh-my-cygwin

Setup a functioning terminal for Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

yingjun opened this issue · comments

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.

+1
I have the same error...

@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.

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.

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

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)"