haithembelhaj / oh-my-cygwin

Setup a functioning terminal for Windows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

it doesn't work on my cygwin

jitendravyas opened this issue · comments

No it definitely does not work and worse, it breaks a default install. The terminal will no longer start; you'll have to use mintty.exe --exec /bin/bash and change the shell back manually by modifying the /etc/passwd file.

+1 on this, same result as @danishdynamite

Running mintty from a cmd as "mintty.exe -h always -" to hold the terminal open after failure, i get: "/bin/zsh: Exit 127". File not found error?

Update. Fresh cywin64 on win7. Doesn't work when piping that script into sh.
Decided to do things from scratch. Installed the packages using the windows cygwin installer GUI rather than using apt-cyg. When doing it this way, and then executing the remaining sections of the script, things went as expected and oh-my-zsh works.

Perhaps use: "https://apt-cyg.googlecode.com/svn/trunk/apt-cyg" ? as the link to pull the apt-cyg script?

Edit: Tried that, same result (not unexpected). When installing anything with this script, the package proports to have been installed successfully, but is not. Nothing I tried worked (vim, git...) But when installed via the windows GUI, they do.

Edit 2: Yep. https://code.google.com/p/apt-cyg/issues/detail?id=23

Edit 3: Looks like someones fixed it: https://raw.github.com/kou1okada/apt-cyg/master/apt-cyg

Edit 4: Confirmed, works.

Hey @DougBarry what steps did ya to get this done?

Hi @felipekm it's been a while since I looked at it, and it's likely it's been updated and hence broken since then. It's in a VM I've not used in a while. I'll put it on the list of things to do and update here sometime soon I hope.

For anyone looking how to install it,

when running your standard cygwin setup.exe, install these packages: zsh mintty vim curl git openssh git-completion git-gui gitk

Then follow the steps in oh-my-cygwin.sh starting on line# 15 till the end, which at the time of me writing this starts with cloning the oh-my-zsh repo.

worked for me, windows 8.1

Thanks @Skinner927 I will try this out.

commented

I can confirm @Skinner927's this method worked on Windows 7 x64. thanks a bunch!

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