emacs: add magit, freefem++, adjust dired

zsh: further simplify git stuff--remove unneeded hooks