Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Lint
  • Loading branch information
edvilme committed Sep 10, 2026
commit 945831c5e9f725f4807e1df6bc67c2a17045066f
1 change: 1 addition & 0 deletions python_files/pythonrc.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def get_last_command():

class PS1:
hooks = REPLHooks()

# str will get called for every prompt with exit code to show success/failure
def __str__(self):
exit_code = int(bool(self.hooks.failure_flag))
Expand Down
Loading