How can I fix this error when trying to install Oh-My-Fish?
up vote
0
down vote
favorite
I am using fish via Cygwin on Windows 10; whenever I try to install OMF, I am presented with this error:
curl -L https://get.oh-my.fish | fish.exe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 194 100 194 0 0 194 0 0:00:01 --:--:-- 0:00:01 2487
100 19025 100 19025 0 0 19025 0 0:00:01 0:00:01 --:--:-- 13379
Checking for a sane environment...
Install aborted: /cygdrive/c/Program Files/Git/cmd/git is Git for Windows which is not supported.
It implies that Git for Windows is not supported by OMF, but surely this isn't the case because I have seen several posts on GitHub that begin with something along the lines of:
After installing OMF on my Windows machine...
which implies that the installation was successful and thus can be achieved.
Is there a resolution to this?
git cygwin fish
add a comment |
up vote
0
down vote
favorite
I am using fish via Cygwin on Windows 10; whenever I try to install OMF, I am presented with this error:
curl -L https://get.oh-my.fish | fish.exe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 194 100 194 0 0 194 0 0:00:01 --:--:-- 0:00:01 2487
100 19025 100 19025 0 0 19025 0 0:00:01 0:00:01 --:--:-- 13379
Checking for a sane environment...
Install aborted: /cygdrive/c/Program Files/Git/cmd/git is Git for Windows which is not supported.
It implies that Git for Windows is not supported by OMF, but surely this isn't the case because I have seen several posts on GitHub that begin with something along the lines of:
After installing OMF on my Windows machine...
which implies that the installation was successful and thus can be achieved.
Is there a resolution to this?
git cygwin fish
You could put Cygwin Git in your PATH first.
– slhck
Nov 22 at 14:16
How do I do that? As in, I know how to add things to my PATH - what I want to know is how to specifically put Cygwin Git in my PATH. I'm running Cygwin setup again and am now adding the git packages that way. Is that the right approach? Also, I'm not sure if it's relevant, but I already use Git through Cygwin/fish.
– SnookerFan
Nov 22 at 14:23
The Git you are using is the one installed with the Git for Windows installer. When you install Git via Cygwin, you will get anothergit
executable (probably at/usr/bin/git
or somewhere similar). Which one you use for your daily work does not really matter. They may just differ in terms of functionality. You may even continue using the Windows Git; but for the installation of oh-my-fish, you could probably override the path temporarily, so that it'll continue.
– slhck
Nov 22 at 15:22
PS: From my own experience, having a mix of Cygwin and Windows executables (Git, Python) is a little bit confusing but manageable. Just make sure you know which one you are calling.
– slhck
Nov 22 at 15:23
Thank you for the comments. I finished installing the Git packages via Cygwin and it worked!
– SnookerFan
Nov 22 at 16:50
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using fish via Cygwin on Windows 10; whenever I try to install OMF, I am presented with this error:
curl -L https://get.oh-my.fish | fish.exe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 194 100 194 0 0 194 0 0:00:01 --:--:-- 0:00:01 2487
100 19025 100 19025 0 0 19025 0 0:00:01 0:00:01 --:--:-- 13379
Checking for a sane environment...
Install aborted: /cygdrive/c/Program Files/Git/cmd/git is Git for Windows which is not supported.
It implies that Git for Windows is not supported by OMF, but surely this isn't the case because I have seen several posts on GitHub that begin with something along the lines of:
After installing OMF on my Windows machine...
which implies that the installation was successful and thus can be achieved.
Is there a resolution to this?
git cygwin fish
I am using fish via Cygwin on Windows 10; whenever I try to install OMF, I am presented with this error:
curl -L https://get.oh-my.fish | fish.exe
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 194 100 194 0 0 194 0 0:00:01 --:--:-- 0:00:01 2487
100 19025 100 19025 0 0 19025 0 0:00:01 0:00:01 --:--:-- 13379
Checking for a sane environment...
Install aborted: /cygdrive/c/Program Files/Git/cmd/git is Git for Windows which is not supported.
It implies that Git for Windows is not supported by OMF, but surely this isn't the case because I have seen several posts on GitHub that begin with something along the lines of:
After installing OMF on my Windows machine...
which implies that the installation was successful and thus can be achieved.
Is there a resolution to this?
git cygwin fish
git cygwin fish
asked Nov 22 at 12:42
SnookerFan
65241331
65241331
You could put Cygwin Git in your PATH first.
– slhck
Nov 22 at 14:16
How do I do that? As in, I know how to add things to my PATH - what I want to know is how to specifically put Cygwin Git in my PATH. I'm running Cygwin setup again and am now adding the git packages that way. Is that the right approach? Also, I'm not sure if it's relevant, but I already use Git through Cygwin/fish.
– SnookerFan
Nov 22 at 14:23
The Git you are using is the one installed with the Git for Windows installer. When you install Git via Cygwin, you will get anothergit
executable (probably at/usr/bin/git
or somewhere similar). Which one you use for your daily work does not really matter. They may just differ in terms of functionality. You may even continue using the Windows Git; but for the installation of oh-my-fish, you could probably override the path temporarily, so that it'll continue.
– slhck
Nov 22 at 15:22
PS: From my own experience, having a mix of Cygwin and Windows executables (Git, Python) is a little bit confusing but manageable. Just make sure you know which one you are calling.
– slhck
Nov 22 at 15:23
Thank you for the comments. I finished installing the Git packages via Cygwin and it worked!
– SnookerFan
Nov 22 at 16:50
add a comment |
You could put Cygwin Git in your PATH first.
– slhck
Nov 22 at 14:16
How do I do that? As in, I know how to add things to my PATH - what I want to know is how to specifically put Cygwin Git in my PATH. I'm running Cygwin setup again and am now adding the git packages that way. Is that the right approach? Also, I'm not sure if it's relevant, but I already use Git through Cygwin/fish.
– SnookerFan
Nov 22 at 14:23
The Git you are using is the one installed with the Git for Windows installer. When you install Git via Cygwin, you will get anothergit
executable (probably at/usr/bin/git
or somewhere similar). Which one you use for your daily work does not really matter. They may just differ in terms of functionality. You may even continue using the Windows Git; but for the installation of oh-my-fish, you could probably override the path temporarily, so that it'll continue.
– slhck
Nov 22 at 15:22
PS: From my own experience, having a mix of Cygwin and Windows executables (Git, Python) is a little bit confusing but manageable. Just make sure you know which one you are calling.
– slhck
Nov 22 at 15:23
Thank you for the comments. I finished installing the Git packages via Cygwin and it worked!
– SnookerFan
Nov 22 at 16:50
You could put Cygwin Git in your PATH first.
– slhck
Nov 22 at 14:16
You could put Cygwin Git in your PATH first.
– slhck
Nov 22 at 14:16
How do I do that? As in, I know how to add things to my PATH - what I want to know is how to specifically put Cygwin Git in my PATH. I'm running Cygwin setup again and am now adding the git packages that way. Is that the right approach? Also, I'm not sure if it's relevant, but I already use Git through Cygwin/fish.
– SnookerFan
Nov 22 at 14:23
How do I do that? As in, I know how to add things to my PATH - what I want to know is how to specifically put Cygwin Git in my PATH. I'm running Cygwin setup again and am now adding the git packages that way. Is that the right approach? Also, I'm not sure if it's relevant, but I already use Git through Cygwin/fish.
– SnookerFan
Nov 22 at 14:23
The Git you are using is the one installed with the Git for Windows installer. When you install Git via Cygwin, you will get another
git
executable (probably at /usr/bin/git
or somewhere similar). Which one you use for your daily work does not really matter. They may just differ in terms of functionality. You may even continue using the Windows Git; but for the installation of oh-my-fish, you could probably override the path temporarily, so that it'll continue.– slhck
Nov 22 at 15:22
The Git you are using is the one installed with the Git for Windows installer. When you install Git via Cygwin, you will get another
git
executable (probably at /usr/bin/git
or somewhere similar). Which one you use for your daily work does not really matter. They may just differ in terms of functionality. You may even continue using the Windows Git; but for the installation of oh-my-fish, you could probably override the path temporarily, so that it'll continue.– slhck
Nov 22 at 15:22
PS: From my own experience, having a mix of Cygwin and Windows executables (Git, Python) is a little bit confusing but manageable. Just make sure you know which one you are calling.
– slhck
Nov 22 at 15:23
PS: From my own experience, having a mix of Cygwin and Windows executables (Git, Python) is a little bit confusing but manageable. Just make sure you know which one you are calling.
– slhck
Nov 22 at 15:23
Thank you for the comments. I finished installing the Git packages via Cygwin and it worked!
– SnookerFan
Nov 22 at 16:50
Thank you for the comments. I finished installing the Git packages via Cygwin and it worked!
– SnookerFan
Nov 22 at 16:50
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
The Git you are using is the one installed with the Git for Windows installer.
When you install Git via Cygwin, you will get another git
executable. Which one you use for your daily work does not really matter. They may just differ in terms of functionality or compatibility (e.g., the Windows Git comes with some shell extensions for Windows Explorer).
Once you have installed Git via the Cygwin installer, check your Git executables:
which -a git
This will list the order of preference. For the installation of oh-my-fish
, make sure that Cygwin Git comes first (/usr/bin/git
), so that it'll continue with the installation.
You can then switch back to whatever Git you want to use for your daily work by overriding the path, e.g. by adding this to your shell profile:
export PATH="/cygdrive/c/Program Files/Git/cmd/:$PATH"
This is helpful, thank you. As per my comment in the original question, I finished installing Git via Cygwin and it now works. I ranwhich -a git
and got this (I have denote a new line with;
):/bin/git; /usr/bin/git; /cygdrive/c/Program Files/Git/cmd/git
. However, after installing OMF, it significantly slowed down the CLI, so I have removed it for now but will look into why that happened another time.
– SnookerFan
Nov 23 at 9:19
Thanks for the additional info. I don't have Windows to test here. If this answer solved your problem, I'd appreciate if you marked it as accepted.
– slhck
Nov 23 at 14:03
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The Git you are using is the one installed with the Git for Windows installer.
When you install Git via Cygwin, you will get another git
executable. Which one you use for your daily work does not really matter. They may just differ in terms of functionality or compatibility (e.g., the Windows Git comes with some shell extensions for Windows Explorer).
Once you have installed Git via the Cygwin installer, check your Git executables:
which -a git
This will list the order of preference. For the installation of oh-my-fish
, make sure that Cygwin Git comes first (/usr/bin/git
), so that it'll continue with the installation.
You can then switch back to whatever Git you want to use for your daily work by overriding the path, e.g. by adding this to your shell profile:
export PATH="/cygdrive/c/Program Files/Git/cmd/:$PATH"
This is helpful, thank you. As per my comment in the original question, I finished installing Git via Cygwin and it now works. I ranwhich -a git
and got this (I have denote a new line with;
):/bin/git; /usr/bin/git; /cygdrive/c/Program Files/Git/cmd/git
. However, after installing OMF, it significantly slowed down the CLI, so I have removed it for now but will look into why that happened another time.
– SnookerFan
Nov 23 at 9:19
Thanks for the additional info. I don't have Windows to test here. If this answer solved your problem, I'd appreciate if you marked it as accepted.
– slhck
Nov 23 at 14:03
add a comment |
up vote
0
down vote
The Git you are using is the one installed with the Git for Windows installer.
When you install Git via Cygwin, you will get another git
executable. Which one you use for your daily work does not really matter. They may just differ in terms of functionality or compatibility (e.g., the Windows Git comes with some shell extensions for Windows Explorer).
Once you have installed Git via the Cygwin installer, check your Git executables:
which -a git
This will list the order of preference. For the installation of oh-my-fish
, make sure that Cygwin Git comes first (/usr/bin/git
), so that it'll continue with the installation.
You can then switch back to whatever Git you want to use for your daily work by overriding the path, e.g. by adding this to your shell profile:
export PATH="/cygdrive/c/Program Files/Git/cmd/:$PATH"
This is helpful, thank you. As per my comment in the original question, I finished installing Git via Cygwin and it now works. I ranwhich -a git
and got this (I have denote a new line with;
):/bin/git; /usr/bin/git; /cygdrive/c/Program Files/Git/cmd/git
. However, after installing OMF, it significantly slowed down the CLI, so I have removed it for now but will look into why that happened another time.
– SnookerFan
Nov 23 at 9:19
Thanks for the additional info. I don't have Windows to test here. If this answer solved your problem, I'd appreciate if you marked it as accepted.
– slhck
Nov 23 at 14:03
add a comment |
up vote
0
down vote
up vote
0
down vote
The Git you are using is the one installed with the Git for Windows installer.
When you install Git via Cygwin, you will get another git
executable. Which one you use for your daily work does not really matter. They may just differ in terms of functionality or compatibility (e.g., the Windows Git comes with some shell extensions for Windows Explorer).
Once you have installed Git via the Cygwin installer, check your Git executables:
which -a git
This will list the order of preference. For the installation of oh-my-fish
, make sure that Cygwin Git comes first (/usr/bin/git
), so that it'll continue with the installation.
You can then switch back to whatever Git you want to use for your daily work by overriding the path, e.g. by adding this to your shell profile:
export PATH="/cygdrive/c/Program Files/Git/cmd/:$PATH"
The Git you are using is the one installed with the Git for Windows installer.
When you install Git via Cygwin, you will get another git
executable. Which one you use for your daily work does not really matter. They may just differ in terms of functionality or compatibility (e.g., the Windows Git comes with some shell extensions for Windows Explorer).
Once you have installed Git via the Cygwin installer, check your Git executables:
which -a git
This will list the order of preference. For the installation of oh-my-fish
, make sure that Cygwin Git comes first (/usr/bin/git
), so that it'll continue with the installation.
You can then switch back to whatever Git you want to use for your daily work by overriding the path, e.g. by adding this to your shell profile:
export PATH="/cygdrive/c/Program Files/Git/cmd/:$PATH"
edited Nov 23 at 14:02
answered Nov 23 at 8:28
slhck
158k47437461
158k47437461
This is helpful, thank you. As per my comment in the original question, I finished installing Git via Cygwin and it now works. I ranwhich -a git
and got this (I have denote a new line with;
):/bin/git; /usr/bin/git; /cygdrive/c/Program Files/Git/cmd/git
. However, after installing OMF, it significantly slowed down the CLI, so I have removed it for now but will look into why that happened another time.
– SnookerFan
Nov 23 at 9:19
Thanks for the additional info. I don't have Windows to test here. If this answer solved your problem, I'd appreciate if you marked it as accepted.
– slhck
Nov 23 at 14:03
add a comment |
This is helpful, thank you. As per my comment in the original question, I finished installing Git via Cygwin and it now works. I ranwhich -a git
and got this (I have denote a new line with;
):/bin/git; /usr/bin/git; /cygdrive/c/Program Files/Git/cmd/git
. However, after installing OMF, it significantly slowed down the CLI, so I have removed it for now but will look into why that happened another time.
– SnookerFan
Nov 23 at 9:19
Thanks for the additional info. I don't have Windows to test here. If this answer solved your problem, I'd appreciate if you marked it as accepted.
– slhck
Nov 23 at 14:03
This is helpful, thank you. As per my comment in the original question, I finished installing Git via Cygwin and it now works. I ran
which -a git
and got this (I have denote a new line with ;
): /bin/git; /usr/bin/git; /cygdrive/c/Program Files/Git/cmd/git
. However, after installing OMF, it significantly slowed down the CLI, so I have removed it for now but will look into why that happened another time.– SnookerFan
Nov 23 at 9:19
This is helpful, thank you. As per my comment in the original question, I finished installing Git via Cygwin and it now works. I ran
which -a git
and got this (I have denote a new line with ;
): /bin/git; /usr/bin/git; /cygdrive/c/Program Files/Git/cmd/git
. However, after installing OMF, it significantly slowed down the CLI, so I have removed it for now but will look into why that happened another time.– SnookerFan
Nov 23 at 9:19
Thanks for the additional info. I don't have Windows to test here. If this answer solved your problem, I'd appreciate if you marked it as accepted.
– slhck
Nov 23 at 14:03
Thanks for the additional info. I don't have Windows to test here. If this answer solved your problem, I'd appreciate if you marked it as accepted.
– slhck
Nov 23 at 14:03
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1377557%2fhow-can-i-fix-this-error-when-trying-to-install-oh-my-fish%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You could put Cygwin Git in your PATH first.
– slhck
Nov 22 at 14:16
How do I do that? As in, I know how to add things to my PATH - what I want to know is how to specifically put Cygwin Git in my PATH. I'm running Cygwin setup again and am now adding the git packages that way. Is that the right approach? Also, I'm not sure if it's relevant, but I already use Git through Cygwin/fish.
– SnookerFan
Nov 22 at 14:23
The Git you are using is the one installed with the Git for Windows installer. When you install Git via Cygwin, you will get another
git
executable (probably at/usr/bin/git
or somewhere similar). Which one you use for your daily work does not really matter. They may just differ in terms of functionality. You may even continue using the Windows Git; but for the installation of oh-my-fish, you could probably override the path temporarily, so that it'll continue.– slhck
Nov 22 at 15:22
PS: From my own experience, having a mix of Cygwin and Windows executables (Git, Python) is a little bit confusing but manageable. Just make sure you know which one you are calling.
– slhck
Nov 22 at 15:23
Thank you for the comments. I finished installing the Git packages via Cygwin and it worked!
– SnookerFan
Nov 22 at 16:50