Closed nasyxx closed 5 years ago
Hey, nasyxx!
Thanks for opening this issue. 😄
It looks like this was caused by the following fish commit: https://github.com/fish-shell/fish-shell/commit/18b06f3768d6f964dd2c679aee2e80a21c820fe4.
Strangely, I am also running 2.7.1 but haven't encountered these changes.
In any case, it looks like $cmd_duration
will be the standard starting fish 3.0.
Bug Report
Current Behavior exec_time not work
Expected Behavior it will have a section with "took 3s" when
sleep 3
Relevant
Fish
ConfigurationEnvironment
Possible Solution
Seems in my fish shell, there is no var named
CMD_DURATION
butcmd_duration
, thus, when I changed$CMD_DURATION
to$cmd_duration
in__sf_section_exec_time.fish
, it works well.