This is the mail archive of the cygwin-talk 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: space in dir name


On Mon, 18 Dec 2006, Buchbinder, Barry (NIH/NIAID) [E] wrote:

> Sunil Ravipati wrote
>
> The slash on the end of Files/ is harmless.  cd will ignore it.
> I find it useful*.  With it, I do not need to type the slash when
> cd'ing into a subdirectory of Program Files/.

Actually, one place where it is harmful is when completing directories
after "cvs update".  Cvs will treat a trailing slash specially, and do
something completely unexpected.  I've learned to remove that trailing
slash, but sometimes I forget and weird things happen.

> But if you must get rid of it, the "mark-directories" directive of
> readline or bash is probably what you want.  See man bash or man
> readline.

Either that or programmable completion, to turn it off in specific cases
(like after "cvs update").
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis Joplin


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