Skip to content

Commit

Permalink
Update rc_awesome.xsh
Browse files Browse the repository at this point in the history
  • Loading branch information
anki-code authored May 23, 2024
1 parent aa179ed commit ef722fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xontrib/rc_awesome.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import time as _time
# - `X.last.rtn` or `P.rtn` to get return code for the latest subprocess command.
# - `with E.swap(VAR='val'): ...` to set env context.
X, E = __xonsh__, __xonsh__.env
P = type('LastCP', (object,), {'__getattr__':lambda self, name: getattr(__xonsh__.last, name) })()
P = type('LastCP', (object,), {'__getattr__':lambda self, name: getattr(__xonsh__.last, name) })() # xonsh > 0.16.0

# ------------------------------------------------------------------------------
# Cross platform
Expand Down

0 comments on commit ef722fc

Please sign in to comment.