[Nix-dev] Defining system-wide shell aliases

Florian Friesdorf flo at chaoflow.net
Tue Jul 24 22:06:48 CEST 2012


On Tue, 24 Jul 2012 21:09:19 +0200, Rickard Nilsson <rickard.nilsson at telia.com> wrote:
> (..)
>  environment.shellAliases = {
>    ll = "ls -lh";
>    year = "date +%Y";
>  };
> (..)
> 
>  I prefer the second example, but it might be a bit abusive on the 
>  attribute set. We don't have tuples in Nix?

+1 because it is not shell specific but could probably also be used to
define these aliases in the ipython shell.

-- 
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/20120724/39e3d201/attachment.bin 


More information about the nix-dev mailing list