nix/flakes/murex-module-starship/starship-set-time.patch
2024-10-09 21:34:09 +11:00

11 lines
351 B
Diff

--- a/starship.mx 2024-10-09 21:00:49.550098036 +1100
+++ b/starship.mx 2024-10-09 21:00:56.186187476 +1100
@@ -44,7 +44,7 @@
}
event onPrompt starship=after {
- ENV.STARSHIP_START_TIME = datetime(--in {now} --out {unix})
+ datetime --in {now} --out {unix} -> cast int -> set ENV.STARSHIP_START_TIME
}
config set shell hint-text-func {