.zshrc

Ed Jobs oloringr at gmail.com
Tue Feb 2 19:32:51 UTC 2010


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100202/93ce71cb/attachment.pgp


More information about the freebsd-questions mailing list