moved async-shell-command advice into guarded claus