From a749491ed489739d4b373638c8f33db7d2273f78 Mon Sep 17 00:00:00 2001 From: eneller Date: Fri, 19 May 2023 16:59:39 +0200 Subject: [PATCH] feat: add dict --- .config/dict/dictrc | 9 +++++++++ .profile | 1 + 2 files changed, 10 insertions(+) create mode 100644 .config/dict/dictrc diff --git a/.config/dict/dictrc b/.config/dict/dictrc new file mode 100644 index 0000000..014cdcd --- /dev/null +++ b/.config/dict/dictrc @@ -0,0 +1,9 @@ +# This is the configuration file for dict. +# Usually all you will ever need here is the server keywords. +# Refer to the dict manpage for other options. +# It will only check the second server if the first fails +# localhost uses the dictd service. Configure it to use your local dictionaries. +# see: freedict, /etc/dict/dict.conf, /usr/share/dictd +server localhost +server dict.org + diff --git a/.profile b/.profile index a25bb63..30ad153 100644 --- a/.profile +++ b/.profile @@ -19,6 +19,7 @@ export CARGO_HOME="$XDG_DATA_HOME/cargo" alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"' alias yarn='yarn --use-yarnrc "$XDG_CONFIG_HOME/yarn/config"' alias code='code --extensions-dir "$XDG_DATA_HOME/vscode"' +alias dict='dict -c "$XDG_CONFIG_HOME"/dict/dictrc ' # THEME