This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cdargs usage


Hi All,

> Well, I worked out this much thanks to man cdargs:
>
> I can construct my own functions to "mark" a cdargs directory and then
> "cdb" into it.
>
> function cdb() {
> ? cdargs "$1" && cd "`cat "$HOME/.cdargsresult"`" ;
> }
>
> function mark() {
> ? cdargs --add=:$1:` cygpath -u -a .`
> }
>
> cd /blah/blah
> mark blah
> cdb blah

For more detail, I wrote up my experiences here:
http://robertmarkbramprogrammer.blogspot.com/2010/09/using-cdargs-in-cygwin.html

Rob
:)

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]