Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh for win32 - installation of zshrc
- X-seq: zsh-users 1789
- From: "'Sven Guckes'" <guckes@xxxxxxxxxxxxxxxxx>
- To: ZShell Users List <zsh-users@xxxxxxxxxxxxxxx>
- Subject: Re: zsh for win32 - installation of zshrc
- Date: Mon, 14 Sep 1998 19:55:52 +0200
- Cc: amol@xxxxxxxxx
- In-reply-to: <980911235322.ZM1397@xxxxxxxxxxxxxxxxxxxxxxx>; from Bart Schaefer on Fri, Sep 11, 1998 at 11:53:22PM -0700
- Mail-followup-to: ZShell Users List <zsh-users@xxxxxxxxxxxxxxx>, amol@xxxxxxxxx
- References: <c=GB%a=_%p=Saudi_Internatio%l=SMS01-980911172557Z-1926@xxxxxxxxxxxxxxxxxxx> <19980912074352.C18849@xxxxxxxxxxxxxxxxx> <980911235322.ZM1397@xxxxxxxxxxxxxxxxxxxxxxx>
Quoting Bart Schaefer (schaefer@xxxxxxxxxxxxxxxx):
> zagzig[21] zcat zsh.exe.gz | strings -a | less +/zshrc
Actually, I tried just that - but I figured that it would not work
as there is no directories /etc on Windows systems. :-/
> So of course c:\zshrc isn't going to work; it's looking for .zshrc
> (which prehaps you can't create on a Win95 machine because of the
> silly 8.3 filename rule, though I'm pretty sure you can on NT).
Well, how could I be sure? Actually, I find that using "zshrc" would
be a nice workaround because of the "8.3" filename convention.
> So you either need to create a c:\etc\zshrc (and zlogin and zshenv
> and zlogout if you want) or find out what zsh thinks $HOME is set to
> (by starting zsh and typing "echo $HOME")
> and put files with names starting with a "." in there, if you can.
I'd rather look into a manual explaining this. (hint hint ;-)
> It appears, from further perusal of the strings output, that $HOMEDRIVE
> and $HOMEPATH are used to generate part of the default $Path,
> as is a variable $ZSHROOT that isn't used in unix zsh.
I understand that the following "filenames" should work then:
%HOMEDRIVE%%HOMEPATH%/.zshrc
%HOME%/.zshrc
%ZDOTDIR%/.zshrc
Now, which order do these take? Amol?
A rough summary of this can be read on
http://www.math.fu-berlin.de/~guckes/zsh/windows.html
Sven
Messages sorted by:
Reverse Date,
Date,
Thread,
Author