[Nix-dev] some basic questions from a new NixOS user

Florian Friesdorf flo at chaoflow.net
Thu Dec 29 21:11:29 CET 2011


On Thu, 1 Dec 2011 06:33:08 +0100, Nicolas Pierron <nicolas.b.pierron at 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 <flo at chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20111229/2e7f548b/attachment.bin 


More information about the nix-dev mailing list