We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c466ba6 commit e16e29eCopy full SHA for e16e29e
1 file changed
xontrib/rc_awesome.xsh
@@ -158,11 +158,12 @@ if $XONSH_INTERACTIVE:
158
#
159
# Events - https://xon.sh/events.html
160
161
- @events.on_postcommand
162
- def _prompt_err_command_again(cmd, rtn, out, ts):
163
- """Keep command that returns non zero value in prompt."""
164
- if rtn != 0:
165
- $XONSH_PROMPT_NEXT_CMD = cmd.rstrip()
+ if 0: # Enable manually.
+ @events.on_postcommand
+ def _prompt_err_command_again(cmd, rtn, out, ts):
+ """Keep command that returns non zero value in prompt."""
+ if rtn != 0:
166
+ $XONSH_PROMPT_NEXT_CMD = cmd.rstrip()
167
168
169
if ON_LINUX or ON_DARWIN:
@@ -323,3 +324,4 @@ if ON_LINUX or ON_DARWIN:
323
324
325
326
327
+
0 commit comments