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