.zshrc
Dánielisz László
laszlo_danielisz at yahoo.com
Tue Feb 2 19:49:31 UTC 2010
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 at gmail.com>
To: freebsd-questions at 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.
More information about the freebsd-questions
mailing list