From ef722fc1a453836bd11adefd9d609278551ad875 Mon Sep 17 00:00:00 2001 From: Andy Kipp Date: Thu, 23 May 2024 10:50:18 +0200 Subject: [PATCH] Update rc_awesome.xsh --- xontrib/rc_awesome.xsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xontrib/rc_awesome.xsh b/xontrib/rc_awesome.xsh index fec3e65..9101f14 100644 --- a/xontrib/rc_awesome.xsh +++ b/xontrib/rc_awesome.xsh @@ -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