This is the mail archive of the cygwin@cygwin.com 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: Bash puzzle: Spaces, environment variables and tab completion


You might want to try with zsh, it's more flexible and convenient to use
than bash.  I haven't used it on Windows, but here's a linux example:
  $ mkdir -p '/tmp/foo/a bar'
  $ F='/tmp/foo/a bar'
  $ ls -ld $F
  drwxr-xr-x    2 lat      zh           4096 Dec  5 11:26 /tmp/foo/a bar
  $ touch $F/xyz
  $ ls -laF $F
  total 8
  drwxr-xr-x    2 lat      zh           4096 Dec  5 11:26 ./
  drwxr-xr-x    3 lat      zh           4096 Dec  5 11:26 ../
  -rw-r--r--    1 lat      zh              0 Dec  5 11:26 xyz

It has gadzillion options to set, so how it works might be function of
what I have set as my zsh environment, but it should be possible.

//lat
-- 
Real programmers disdain structured programming.  Structured
programming is for compulsive, prematurely toilet-trained
neurotics who wear neckties and carefully line up sharpened
pencils on an otherwise uncluttered desk.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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