v3: Now with a background continuous fetcher
Backgroud Fetcher, the missing feature
It was missing, you wanted it, it's now there.
Githud has been enriching your prompt and your GIT context awareness for years. One thing was missing though: it failed to tell you what was happening on the remote while you were working.
Well this is from the past. From now on, githud will launch a daemon (githudd) that will regularly fetch the latest state of your remote(s) (defaults to every 30s).
From the changelog:
- Feat: Add a daemon called
githuddthat will continuously fetch the last git folder where
githudwas executed. In a typical install wheregithudis used in the prompt, that means the
last git folder browsed. - Config: some new configuration has been added for the
githudddaemon. The default values have
been tested on Mac. You can find this new section in the.githudrcfile in this repo. The new
parameters are also pasted below along with their default values.
# -------------------------------------------------------------------------------------------
# The following config controls the background fetcher daemon behavior called githudd
# -------------------------------------------------------------------------------------------
# run_fetcher_daemon=True
# githudd_sleep_seconds=30 # how long does the daemon sleep between cycles
# githudd_pid_file_path=/usr/local/var/run/githudd.pid
# githudd_socket_file_path=/usr/local/var/run/githudd.socket
#
# # Githudd logs can be verbose. They are here for debugging only. It is not advised that you
# # activate them
# githudd_log_file_path=/dev/null