Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

RE: Problem running zsh on WinNT 4.0



Thanks again that did the trick.  

As for my other problem, I looked at the .zshrc for a while and noticed that
there is a command called setopt.  So, I put the following
line in my .zshrc file:

setopt winntconvertbackslash

This did not solve the problem of the back slashes in window's environment
variable.

Instead of using the $HOMEDRIVE$HOMEPATH, I just specify as the path
explicitly.  So now, I just have the following line in my
.zprofile:

export MY_OUTPUT_DIR=e:/jobs/$USERNAME  (since $USERNAME contains on
backslashes, I avoid the problem entirely)

It would be nice to have this resolve in case I have to actually use the
window's environment variable which contains backslashes.

Thanks again for all your help,
Timothy

	----------
	From:  Larry P . Schrof[SMTP:schrof@xxxxxxxxxxx]
	Sent:  Friday, February 12, 1999 11:40 AM
	To:  Trinh, Timothy
	Cc:  'jr@xxxxxxxxxxxxxx'; 'zsh-users@xxxxxxxxxxxxxxx'; 'Bart
Schaefer'; Larry P . Schrof
	Subject:  Re: Problem running zsh on WinNT 4.0

	On Fri, Feb 12, 1999 at 11:23:54AM -0800, Trinh, Timothy wrote:

	> When I set my window's HOME environment variable to
%HOMEDRIVE%HOMEPATH,
	> this allowed the zsh program to 
	> automatically source in my .zshrc (located in HOME), but not my
profile
	> file(also located in HOME).  I tried renaming the profile file to
.zprofile,
	> .profile, and profile.zsh, but it still did not source in my
profile file.

	In order for the .zprofile to be read, it hss to be a login shell.
	Try invoking zsh with a -l argument and see if that helps.

	- Larry
	



Messages sorted by: Reverse Date, Date, Thread, Author