1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-05-31 23:50:52 +00:00
starship/src/init
Gautham Warrier 5eacd3abee
perf: use built-in EPOCHREALTIME env-var to compute cmd_duration for ZSH5+ (#1751)
We currently invoke `starship time` in a sub-shell to compute time, which is non-performant. By using $EPOCHREALTIME,
which is an inbuilt env-var in ZSH5, we can get better performance. This commit only targets ZSH5+ and maintains the
old behaviour.
2021-01-23 11:25:41 +01:00
..
mod.rs feat: Add support for cygwin/msys2/git-bash evironment (#2020) 2021-01-07 19:13:57 +01:00
starship.bash fix(bash): Fix broken bash init script (#2100) 2021-01-07 18:35:32 +01:00
starship.fish perf(init): Use random for session-key in fish (#1904) 2021-01-04 18:36:50 +01:00
starship.ion feat: add error messaging (#1576) 2020-09-28 16:38:50 -04:00
starship.ps1 fix(pwsh): disable builtin venv prompt (#2090) 2021-01-07 18:16:02 +01:00
starship.zsh perf: use built-in EPOCHREALTIME env-var to compute cmd_duration for ZSH5+ (#1751) 2021-01-23 11:25:41 +01:00