.profile: Add mate-dictionary alias

This commit is contained in:
Salt 2019-02-04 17:37:45 -06:00
parent 644cbdff9b
commit 77bf3a4a0d

View File

@ -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'