gbs-config.sh.inc.example 1.4 KB

1234567891011121314151617181920212223242526272829
  1. ###############################################################################
  2. # optional user-defined config for the 'git-branch-status' program #
  3. #-----------------------------------------------------------------------------#
  4. # * copy this file to: ./gbs-config.sh.inc (or $GBS_CFG_FILE) to customize #
  5. # * the text in this file must be valid BASH #
  6. # * you can also export these configuration options from the environment #
  7. # as well as an alternate location of this file (as $GBS_CFG_FILE) #
  8. # * environment variables will over-ride those defined in this file #
  9. # * environment variables should be named similarly to those in this file #
  10. # with the CFG_* prefix replaced with GBS_* #
  11. # eg: export GBS_CFG_FILE=~/.config/git-branch-status/config.sh.inc #
  12. # eg: export GBS_FETCH_PERIOD=0 #
  13. ###############################################################################
  14. # number of minutes between automatic `git fetch --all` calls
  15. # 0 => always, -1 => never (default: -1)
  16. readonly CFG_FETCH_PERIOD=-1
  17. # writable filesystem location for storage of the last-fetch timestamp
  18. # (default: ~/.GBS_LAST_FETCH)
  19. readonly CFG_LAST_FETCH_FILE=~/.GBS_LAST_FETCH
  20. # whether or not to present ANSI colors
  21. # 0 => no, 1 => yes (default: 1)
  22. readonly CFG_USE_ANSI_COLOR=1