Skip to content

These docs are for the newly-released v4.

If you are or were using v3, check out What's New. If you are or were using v3 and do advanced configuration, read the migration guide and/or read about pinning v3.x.

 

 

Scheduled refresh with static time

The default HOMETOWN_CUSTOM’s timestamp becomes dynamic when scheduled refresh is enabled.

If you want the prompt’s timestamp to remain static, set HOMETOWN_CUSTOM to '%v' before or after loading Hometown. (Requires that HOMETOWN_SET_PSVAR (default 1) be non-zero.)

shell
# .zshrc

HOMETOWN_CUSTOM='%v'
# and then load Hometown here