Configuration

Configuration file

New in version 1.3: In previous versions, the configuration file was called ~/.jug/configrc. Since version 1.3, the path ~/.config/jugrc is used (for compatibility, ~/.jug/configrc is read if ~/.config/jugrc is missing).

On startup, jug reads the file ~/.config/jugrc (if it exists). It expects an .ini format file. It can have the following fields:

  1. [main]
  2. jugdir=%(jugfile)s.jugdata
  3. jugfile=jugfile.py
  4. [status]
  5. cache=off
  6. [execute]
  7. aggressive-unload=False
  8. pdb=False
  9. wait-cycle-time=12
  10. nr-wait-cycles=150

These have the same meaning as the analogous command line options. If both are given, the command line takes priority.