add hostname to example config

This commit is contained in:
Alan Hamlett 2016-07-06 09:39:26 +02:00
parent 8a205e745b
commit 75ae22f8c8
1 changed files with 4 additions and 3 deletions

View File

@ -57,7 +57,7 @@ Configuring
Options can be passed via command line, or set in the ``$HOME/.wakatime.cfg`` Options can be passed via command line, or set in the ``$HOME/.wakatime.cfg``
config file. Command line arguments take precedence over config file settings. config file. Command line arguments take precedence over config file settings.
The ``$HOME/.wakatime.cfg`` file is in `INI <http://en.wikipedia.org/wiki/INI_file>`_ The ``$HOME/.wakatime.cfg`` file is in `INI <http://en.wikipedia.org/wiki/INI_file>`_
format. An example config file looks like:: format. An example config file with all available options::
[settings] [settings]
debug = false debug = false
@ -74,8 +74,9 @@ format. An example config file looks like::
proxy = https://user:pass@localhost:8080 proxy = https://user:pass@localhost:8080
timeout = 30 timeout = 30
[projectmap] [projectmap]
projects/foo = new project name projects/foo = new project name
^/home/user/projects/bar(\d+)/ = project{0} ^/home/user/projects/bar(\d+)/ = project{0}
hostname = machinename
Troubleshooting Troubleshooting