Giter Site home page Giter Site logo

Comments (14)

daxgames avatar daxgames commented on May 23, 2024

There is not a lot to go on here. I don't understand the screenshot you provided.

%cmder_root% is not required in the path unless you want it in the path for some reason.

Can you provide a screenshot of the actual error?

from cmder.

hesammoosapour avatar hesammoosapour commented on May 23, 2024

@daxgames When I am trying to open a new bash, this error comes up:
image

from cmder.

daxgames avatar daxgames commented on May 23, 2024

I don't know what that is it looks like you're running something that you created that's throwing an error

Can you download a new zip file from the cmder GitHub releases and expand it into a different folder and run it without modifying it any way.

It looks like the Cmder init is done and it's trying to run your profile that you've specified.

from cmder.

chrisant996 avatar chrisant996 commented on May 23, 2024

Also, that error is not coming from bash. But you said your intent was to start bash. So it looks like something is wrong about your configuration, or about how you're starting bash (you haven't shared any information about how you're trying to start bash, and those details can be very important).

So I wonder: did you add some bash commands into a cmd startup script by mistake? Cmd and bash are very different shells, and they can't be treated interchangably.

If you share more specific details about what you're doing, how you're doing it, and what configuration you've performed then that could enable to people to quickly help, without needing to spent a lot of their personal time trying to make guesses and ask questions. The easier you make it for people to help, the more likely it is that they may try.

Here is an article that helped me learn how to make it easy for people to help me when I need help:
http://www.catb.org/~esr/faqs/smart-questions.html

from cmder.

hesammoosapour avatar hesammoosapour commented on May 23, 2024

This is newest version that I downloaded from cmder site.
https://hesammoosapour.ir/cmder.mp4

from cmder.

chrisant996 avatar chrisant996 commented on May 23, 2024

Are you using cmder mini? Or cmder full?

I think you must be using cmder mini, which does not include bash.
UPDATE: Ah, I see in the original report that you stated you are using Cmder Mini.
That is the cause of the problem -- bash is not included in Cmder Mini.

The {bash::bash} task (and all the bash tasks) only work in cmder full.

Go to Settings > Startup > Tasks > {bash::bash}, and look in the bottom right text box.
It tries to run %ConEmuDir%\..\git-for-windows\git-cmd.exe, which only exists in cmder full.

set "PATH=%ConEmuDir%\..\git-for-windows\usr\bin;%PATH%" & %ConEmuDir%\..\git-for-windows\git-cmd.exe --no-cd --command=%ConEmuBaseDirShort%\conemu-msys2-64.exe "%ConEmuDir%\..\git-for-windows\usr\bin\bash.exe" --login -i

from cmder.

daxgames avatar daxgames commented on May 23, 2024

Good catch - I didn't see it either.

Future versions of Cmder Mini will be able to launch external git bash.

from cmder.

hesammoosapour avatar hesammoosapour commented on May 23, 2024

The problem is even when I am working with cmder full, I still get the same error:
image

from cmder.

hesammoosapour avatar hesammoosapour commented on May 23, 2024

Also it doesn't recognizes commands like : source
image

from cmder.

daxgames avatar daxgames commented on May 23, 2024

@hesammoosapour The screenshots you have shown of running consoles do not come from the screenshots of the Cmder bash tasks you have shown. The running xonsoles are ALL cmd.exe.

The only Task that matches the running Console is the custom one you created and even it is not bash it is cmd.exe so commands like source would not work since source is a bash command.

from cmder.

daxgames avatar daxgames commented on May 23, 2024

bash sessions will NEVER have C:\ in the prompt path. bash prompt paths begin with /.

What is out putting the 'Hello to the creator of these aliases...'?

What is running from the %cmder_root%/config/profile.d that is producing an error we can't see it because your ConEmu Settings window covers it?

NONE of that came with the Cmder you downloaded.

I assure you the bash tasks wor[ as configured. I use them regularly.

We cannot fix what is wrong in your config. We cannot even assist without accurrate and complete data from you.

from cmder.

daxgames avatar daxgames commented on May 23, 2024

Do you have git installed outside cmder? If so how was it installed?

Output of where git?

from cmder.

hesammoosapour avatar hesammoosapour commented on May 23, 2024

I installed the full version again, and now it is working awesomly.

Here are my snippets for my custom bash admin:

  • -cur_console:d:"F:\Old Drive C\xampp\htdocs\StockDesign" -cur_console:t:MainBelfi -cur_console:C:C:\cmder\icons\cmder.ico set "PATH=%ConEmuDir%..\git-for-windows\usr\bin;%PATH%" & %ConEmuDir%..\git-for-windows\git-cmd.exe --no-cd --command=%ConEmuBaseDirShort%\conemu-msys2-64.exe "%ConEmuDir%..\git-for-windows\usr\bin\bash.exe" --login -i

Thanks to everyone specially @daxgames 🤗😍🙏

from cmder.

daxgames avatar daxgames commented on May 23, 2024

Glad to hear it.

from cmder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.