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'