Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2010 11:49:30 -0800 (PST)
From:      =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= <laszlo_danielisz@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: .zshrc
Message-ID:  <874459.78991.qm@web30808.mail.mud.yahoo.com>
In-Reply-To: <201002022133.07391.oloringr@gmail.com>
References:  <519098.74143.qm@web30807.mail.mud.yahoo.com> <20100202194146.c52cf36e.freebsd@edvax.de> <201002022133.07391.oloringr@gmail.com>

index | next in thread | previous in thread | raw e-mail

Thanks for everybody the advices, I changed my mind and I want to apply zsh only for local user, tryed the .zshrc but still not working.



________________________________
From: Ed Jobs <oloringr@gmail.com>
To: freebsd-questions@freebsd.org
Sent: Tue, February 2, 2010 8:33:07 PM
Subject: Re: .zshrc

On Tuesday 02 of February 2010 20:41, Polytropon wrote:
> I've taken your .zshrc content and installed zsh, but
> whenever I started it, "echo $SHELL" tells me it is
> /bin/csh... so I'm much more clueless now... :-)
the $SHELL variable does not change when you run a subshell. but the 
shell is launching. take for example: if you run `sh` under a csh login shell, 
echo $SHELL reports /bin/csh, even tho you are running sh.


> Furthermore, I think the syntax is wrong. You have to
> use the format
> 
>     alias name='command -opt1 -opt2'
correct


> And I think - but that's a wild guess! - that the syntax
> for your export commands should be different, too, such
> as
> 
>     HISTFILE=~/.zsh_history
>     HISTSIZE=50000
>     SAVEHIST=50000
correct again

-- 
Real programmers don't document. If it was hard to write, it should be hard 
to understand.






help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874459.78991.qm>