set powerline to be active only in gui mode, fails in terminal