Difference between revisions of "Dict"
From NixOS Wiki
(Add warning about the new wiki) |
m (rollback unauthorized mass edits) Tag: Rollback |
||
Line 1: | Line 1: | ||
− | |||
− | |||
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. | ||
Latest revision as of 11:04, 6 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