Try this:

$ echo 'export PATH=$PATH:/newpath' >> ~/.bashrc

You can also edit your .bashrc file too. Here is an example line from the 
.bashrc

export PATH=$PATH:"/cygdrive/c/Program Files/Notepad++"

Here is a bonus useful thing

alias splitpath="echo \$PATH | cut -d: -f1- --output-delimiter=$'\n'"



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to