commit 20f9d6a6acc1e7f89bc3e3aaa999493f66b9be5d parent a3f40ea42e2c31705717844aa77c5a83b098369c Author: Anders Damsgaard Christensen <adc@geo.au.dk> Date: Tue, 19 Feb 2013 21:07:06 +0100 Merge branch 'master' of https://github.com/anders-dc/dotfiles Diffstat:
M | .zshrc | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/.zshrc b/.zshrc @@ -46,5 +46,11 @@ export PATH=~/bin:$PATH export PATH=~/code/metasploit:$PATH export PATH=~/.gem/ruby/1.9.1/bin:$PATH export PATH=~/code/julia:$PATH +export PATH=~/code/elmerfem/fem/src:$PATH export EDITOR=vim + +alias ll='ls -lh' + +# speech synth command +say() { if [[ "${1}" =~ -[a-z]{2} ]]; then local lang=${1#-}; local text="${*#$1}"; else local lang=${LANG%_*}; local text="$*";fi; mplayer "http://translate.google.com/translate_tts?ie=UTF-8&tl=${lang}&q=${text}" &> /dev/null ; }