Dict: Difference between revisions

From NixOS Wiki
imported>Peterhoeg
Set server via /etc/dict.conf instead of per user.
Klinger (talk | contribs)
 
Line 29: Line 29:
* [http://dict.org/bin/Dict The <code>dict.org</code> web dictionary lookup tool]
* [http://dict.org/bin/Dict The <code>dict.org</code> web dictionary lookup tool]


[[Category:NixOS]]
 
[[Category:Guide]]
[[Category:Applications]]
[[Category:Dictd]]
[[Category:Dictionary]]
[[Category:Database]]
[[Category:Networking]]
[[Category:Networking]]

Latest revision as of 19:55, 19 April 2024

The dict utility does network dictionary lookups from the command-line, it is part of the dictd software distribution.

Setup

Add `dict` to your list of packages in /etc/nixos/configuration.nix:

/etc/nixos/configuration.nix
{
  environment = {
    etc."dict.conf".text = "server dict.org";
    systemPackages = with pkgs; [ dict ];
  };
}

and rebuild your system.

Usage

To lookup a word, run, for example:

dict snowflake

See Also