Dict: Difference between revisions
imported>Crocodillian m Clarify that dictionary lookups are over the network. |
imported>Crocodillian m Add note to rebuild system after adding package to config. |
||
Line 10: | Line 10: | ||
]; | ]; | ||
</nowiki>}} | </nowiki>}} | ||
and rebuild your system. | |||
Run the following as your user: | Run the following as your user: |
Revision as of 21:03, 20 October 2021
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.systemPackages = with pkgs; [
dict
];
and rebuild your system.
Run the following as your user:
echo 'server dict.org' > ~/.dictrc
Usage
To lookup a word, run, for example:
dict snowflake