home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / shell / 4598 < prev    next >
Encoding:
Internet Message Format  |  1992-11-09  |  988 b 

  1. Path: sparky!uunet!mcsun!sunic!corax.udac.uu.se!Minsk.docs.uu.se!vick
  2. From: vick@Minsk.docs.uu.se (Mikael Lundgren)
  3. Newsgroups: comp.unix.shell
  4. Subject: How to quote '~' in Zsh?
  5. Date: 8 Nov 92 20:31:57 GMT
  6. Organization: Uppsala University
  7. Lines: 19
  8. Message-ID: <vick.721254717@Minsk>
  9. NNTP-Posting-Host: minsk.docs.uu.se
  10.  
  11. Well, the subject says it all. I have in my .zshrc the line
  12. FIGNORE='.bak':'.o'
  13.  
  14. which tells Zsh to ignore files with these suffixes when doing
  15. completion. I would like to add '~' as well, but I can't come
  16. up with a way to quote this properly.
  17. ~ gives my homedir.
  18. '~' and "~" also expands to my homedir.
  19. \~ gives \~, and ~~ gives ~~.
  20.  
  21. Help!
  22.  
  23.  
  24.  
  25. --
  26. () University of Uppsala ,Sweden   |  Mikael (Vick) Lundgren      ____       ()
  27. () Department of Computer Science  |  vick@bern.docs.uu.se       /..  \/|    ()
  28. () Remember:Four bananas always add up to a plectrum.           (----)  | )) ()
  29. () Neither more nor less and definitely not the other way around.\____/\|    ()
  30.