dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit be8edd2d23f3b60baa06a6f7f1311f5b47efab68
parent 67b6638bbef8d478fe2ed62c5d0efc2a01871a52
Author: Anders Damsgaard Christensen <adc@geo.au.dk>
Date:   Tue, 10 May 2016 14:04:13 -0700

use online dictionary for define command

Diffstat:
M.zshrc | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.zshrc b/.zshrc @@ -125,7 +125,7 @@ alias ipython-prof='ipython -m cProfile -s time' alias python-prof='python -m cProfile -s time' alias pipupgrade='pip freeze --local | grep -v '^\-e' | cut -d = -f 1 | xargs sudo pip install -U' alias denmark-date='TZ=Europe/Copenhagen date' -function define() { echo "use wn command from package wordnet" } +function define() { curl --silent dict://dict.org/d:$1 } # enable color support of ls and also add handy aliases if [[ "$ARCH" != 'Darwin' ]]; then