From 77bf3a4a0def1c93d61420014bb84846d58b2140 Mon Sep 17 00:00:00 2001 From: Salt Date: Mon, 4 Feb 2019 17:37:45 -0600 Subject: [PATCH] .profile: Add mate-dictionary alias --- .profile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.profile b/.profile index ee383568..e21b617d 100755 --- a/.profile +++ b/.profile @@ -126,6 +126,13 @@ if command -v instantmusic > /dev/null 2>&1; then alias songp='instantmusic -s' fi +# Dictionary aliases +if ! command -v define > /dev/null 2>&1; then + if command -v mate-dictionary > /dev/null 2>&1; then + alias define='mate-dictionary -n --look-up' + fi +fi + # Alias for my bare repo dotfile setup if [ -d "$HOME/.dotfiles" ]; then dotcmd='git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'