Comments (14)
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.
@daxgames When I am trying to open a new bash, this error comes up:
from cmder.
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.
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.
This is newest version that I downloaded from cmder site.
https://hesammoosapour.ir/cmder.mp4
from cmder.
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.
Good catch - I didn't see it either.
Future versions of Cmder Mini will be able to launch external git bash.
from cmder.
The problem is even when I am working with cmder full, I still get the same error:
from cmder.
Also it doesn't recognizes commands like : source
from cmder.
@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.
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.
Do you have git installed outside cmder? If so how was it installed?
Output of where git?
from cmder.
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.
Glad to hear it.
from cmder.
Related Issues (20)
- Question: is it possible to auto complete suggestion (grayed out suggestion) HOT 2
- does cmder come packaged with curl and php? HOT 10
- [Bug] Not able to attach to debugger in VS Code Terminal HOT 3
- [Bug] cmder gets stuck on git reflog HOT 9
- 运行总是提示:“此时不应有 D:\Program。” HOT 6
- [Bug] problem with "home" and 'end" keys
- [Feature request] Allow terminal to accept and run commands before cmder is fully loaded HOT 5
- [Bug] Shortcuts not work in cmder, and alias names aren't coloured correctly. HOT 6
- Question: How to update curl version in Bash console? HOT 5
- Question: Alias with admin permission
- [Bug] wired color blocks when running a CLI program based on Python and prompt_toolkit in cmder HOT 6
- [Bug] Chinese compatibility problem after resolving Kconfig files HOT 2
- [Feature request] fzf integration
- [Feature request] Update Clink version chrisant996 / v1.6.8 HOT 7
- [Bug] Predefined task: as Admin
- Question: How do I change the route cmder has to find ssh keys? HOT 11
- [Bug] Midnight Commander and msys HOT 1
- [Bug] Cmder ceases to be compatible with program Admin by Request HOT 8
- [Bug] HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmder.