def precmd(self): self.args.last_pipe_status = zsh.pipestatus() self.args.last_exit_code = zsh.last_exit_code()
def last_pipe_status(self): return zsh.pipestatus()
def precmd(self): self.args.last_pipe_status = zsh.pipestatus() self.args.last_exit_code = zsh.last_exit_code() zsh.eval('_POWERLINE_PARSER_STATE="${(%):-%_}"')