Closed frm closed 6 years ago
If you load the git plugin without exec_time, the following error happens:
git
exec_time
prompt_geometry_git_time_since_commit:9: command not found: prompt_geometry_seconds_to_human_time master :: •
Sample configuration:
GEOMETRY_PROMPT_PLUGINS_PRIMARY=(git) GEOMETRY_PROMPT_PLUGINS_SECONDARY=(path)
This happens because git depends on functions defined in exec_time. This PR solves this by extracting these functions to a separate lib/time.zsh file.
lib/time.zsh
Ping @desyncr @jedahan
will look at this evening (in ~4 hours)
thanks for being so patient
All good :)
If you load the
git
plugin withoutexec_time
, the following error happens:Sample configuration:
This happens because
git
depends on functions defined inexec_time
. This PR solves this by extracting these functions to a separatelib/time.zsh
file.