zsh-users
 help / color / mirror / code / Atom feed
* Two simple questions
@ 2004-09-13 15:52 Tero Niemela
  2004-09-13 18:57 ` Björn Lindström
  2004-09-13 21:10 ` DervishD
  0 siblings, 2 replies; 10+ messages in thread
From: Tero Niemela @ 2004-09-13 15:52 UTC (permalink / raw)
  To: zsh-users

Hi, I'd like to ask two questions that should be easy
to answer although with google I could not find
anything.

0) I'm seeing dirs like /bin /bin/ and even /bin// in
my PATH. What would be the best way to clean up the
trailing slashes? "typeset -U path" won't clean up
paths if they have different number of trailing
slashes (I mean all those mentioned paths are left but
other instances of, e.g., /bin are of course cleaned).

1) I use cygwin+zsh and it works great. I have in my
windows explorer "Command prompt here" option that
starts cmd.exe in the selected directory (with
"cmd.exe /k 'cd %1'" or something). How could I define
a command in command line that gets executed after all
zsh configuration files? zsh && cd /some/path of
course doesn't work.

Thanks for your help.


		
_______________________________
Do you Yahoo!?
Shop for Back-to-School deals on Yahoo! Shopping.
http://shopping.yahoo.com/backtoschool


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-09-15 10:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-13 15:52 Two simple questions Tero Niemela
2004-09-13 18:57 ` Björn Lindström
2004-09-13 21:10 ` DervishD
2004-09-14 16:37   ` Tero Niemela
2004-09-14 17:19     ` DervishD
2004-09-14 18:55       ` Tero Niemela
2004-09-14 19:09         ` DervishD
2004-09-15  5:11           ` Tero Niemela
2004-09-15  8:36             ` DervishD
2004-09-15 10:29               ` Stephane Chazelas

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).