On Thu, 1 Dec 2011 06:33:08 +0100, Nicolas Pierron 
<nicolas.b.pier...@gmail.com> wrote:
> What I did on my server was to add the following lines in /etc/zshenv file.
> 
> emulate bash
> alias shopt=false
> . /etc/profile
> unalias shopt
> emulate zsh

Thx Nicolas, with 31148/9 this is now in nixpkgs and if you are on
nixos, zsh should work as well as bash.

If you have /etc/zprofile it is used instead. You should move it to
/etc/zprofile.local and adjust it to handle the fact that /etc/profile
was already sourced.

On non-nixos, nothing changed.

Check pkgs/shells/zsh/default.nix for details.

-- 
Florian Friesdorf <f...@chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: f...@chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC

Attachment: pgpIYZQOyQoyP.pgp
Description: PGP signature

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to