Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2010 21:33:07 +0200
From:      Ed Jobs <oloringr@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: .zshrc
Message-ID:  <201002022133.07391.oloringr@gmail.com>
In-Reply-To: <20100202194146.c52cf36e.freebsd@edvax.de>
References:  <519098.74143.qm@web30807.mail.mud.yahoo.com> <20100202194146.c52cf36e.freebsd@edvax.de>

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

[-- Attachment #1 --]
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.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAktoffMACgkQBPpdVEWKA32cdwCgoEpsA1tPE2lMiMZBI0Bw4Lrs
fggAoMMsiKo64sRgprvS6TUj8FqFc44L
=BEhK
-----END PGP SIGNATURE-----
help

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