Difference between revisions of "Dict"

From NixOS Wiki
Jump to: navigation, search
(Set server via /etc/dict.conf instead of per user.)
(Add warning about the new wiki)
Line 1: Line 1:
 +
{{warning|1=You are reading an article on the deprecated unofficial wiki. For the up to date version of this article, see https://wiki.nixos.org/wiki/Dict.}}
 +
 
The <code>dict</code> utility does network dictionary lookups from the command-line, it is part of the <code>dictd</code> software distribution.
 
The <code>dict</code> utility does network dictionary lookups from the command-line, it is part of the <code>dictd</code> software distribution.
  

Revision as of 16:28, 4 April 2024

Warning: You are reading an article on the deprecated unofficial wiki. For the up to date version of this article, see https://wiki.nixos.org/wiki/Dict.

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:

Breeze-text-x-plain.png
/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