Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Sign up or log in to customize your list.
By using our site, you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service.
Where is Cygwin set its PATH variable?
If I write echo $PATH in my Cygwin window (mintty) I get a list of paths. That list does not match the Windows Envirnonement variables list. I cannot find a file, where is the variable $PATH set. None of the ~/.* files like .bashrc, .bash_profile, .profile, .inputrc, .minttyrc contain $PATH setting.
So, where is the variable $PATH actually set?
# software to override 'system' software.
# Modifying these default path settings can be done in different ways.
# To learn more about startup files, refer to your shell's man page.
so you can access the cygwin UNIX tools. To set /etc/profile up as needed.
Thanks for contributing an answer to Unix & Linux Stack Exchange!
Please be sure to answer the question. Provide details and share your research!
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.
Not the answer you're looking for? Browse other questions tagged path bashrc cygwin or ask your own question.
Unicorn Meta Zoo #1: Why another podcast?
How do I get rid of Cygwin's /cygdrive prefix in all paths?
Where are the places the PROMPT_COMMAND variable could be set?
Why does my Cygwin Bash always read from terminal when I try to execute an external command?
How to set environment variables to path so it can be read from GUI and command line from the same program?
What does "function" actually mean in music?
Why must Chinese maps be obfuscated?
How do I check if a string is entirely made of the same substring?
What is this word supposed to be?
I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?
How can I practically buy stocks?
How do I reattach a shelf to the wall when it ripped out of the wall?
How much cash can I safely carry into the USA and avoid civil forfeiture?
How to find if a column is referenced in a computed column?
Apply a different color ramp to subset of categorized symbols in QGIS?
Are there moral objections to a life motivated purely by money? How to sway a person from this lifestyle?
How important is it that $TERM is correct?
Air bladders in bat-like skin wings for better lift?
Does the damage from the Absorb Elements spell apply to your next attack, or to your first attack on your next turn?
Where was the County of Thurn und Taxis located?
Should the Product Owner dictate what info the UI needs to display?
Is there really no use for MD5 anymore?
Linux is a registered trademark of Linus Torvalds. UNIX is a registered trademark of The Open Group.
This site is not affiliated with Linus Torvalds or The Open Group in any way.
