fix code completion for c command