Zsh Mailing List Archive
Messages sorted by:
RE: Problem running zsh on WinNT 4.0
- X-seq: zsh-users 2133
- From: "Trinh, Timothy" <timothy.trinh@xxxxxxxxx>
- To: "'jr@xxxxxxxxxxxxxx'" <jr@xxxxxxxxxxxxxx>
- Subject: RE: Problem running zsh on WinNT 4.0
- Date: Fri, 12 Feb 1999 11:23:54 -0800
- Cc: "'zsh-users@xxxxxxxxxxxxxxx'" <zsh-users@xxxxxxxxxxxxxxx>, "'Bart Schaefer'" <schaefer@xxxxxxxxxxxxxxxx>, "Larry P . Schrof" <schrof@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
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.
As a workaround, I placed the following line in my .zshrc file to source in
the profile file:
source $HOMEDRIVE$HOMEPATH/<profile file name>
If there is a better way of than what I have done, let me know.
One other thing, whenever I export a variable to a path which contain the
windows environment variable that contain backslashes,
this messes up the variable. Here is an example of what I mean:
export MY_OUTPUT_DIR="$HOMEDRIVE$HOMEPATH/output" (I have something like
this in my profile file)
The window's environment variable $HOMEDRIVE returns e: and $HOMEPATH
When you echo MY_OUTPUT_DIR, you get a broken path of some sort. The broken
path is probably caused by the backslashes.
If you cd MY_OUTPUT_DIR, you get a error message which states: "cd: no such
file or directory: e:\job\timothy/output"
What do I need to do to have the zsh program interpret those backslashes as
I have read the readme file that comes along with the zsh application
regarding the problem above and this is what it says:
* winntignorecase: ignore case in completions
* winntlamepathfix: convert the PATH environment variable back to
'\'-delimited instead of '/'-delimited when each child process is
* winntnoassociations: Do not try applications associated with extensions
if exec() fails.
* winntconvertbackslash: Convert backslashes to '/' when comparing named
directories etc. May be useful if you derive HOME from '\'-delimited
It was nice to know this stuff, but it does not say anything about how to
I am not sure what NT-specific setopts are and what and where I can deal
Any help is greatly appreciated and thanks for all the help you have given
me thus far.
Sent: Friday, February 12, 1999 1:03 AM
Subject: Re: Problem running zsh on WinNT 4.0
>I have just recently installed the zsh program on my WinNT 4.0. It
>just fine, but each time it starts up, it does not source my
>I always have to source in the my profile manaually(.
>there some way were I have my profile sourced in when I start the
I believe you have to have HOME set before zsh can find your
Check the FAQ, there should be some info there.
John Riddoch Email: jr@xxxxxxxxxxxxxx Telephone:
Room C4, School of Computer and Mathematical Science
Robert Gordon University, Aberdeen, AB25 1HG
I am Homer of Borg. Resistance is Fu... Ooooh! Donuts!
Messages sorted by: