cmdnotify: use basename of command