From 5bfcf00b35743f4155669c584de05dc50e918835 Mon Sep 17 00:00:00 2001 From: Pedro Maltez Date: Tue, 11 Nov 2014 08:39:45 +0000 Subject: [PATCH] Add information about recognition of XDG_CONFIG_HOME to README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a8bc13c..6ca0749 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,10 @@ optional arguments: ## Configuration file -pirate-get will check to see if `$HOME/.config/pirate-get/pirate.cfg` exists. If it does it will use it as its default configuration settings. +You can use a file to override pirate-get's default settings. pirate-get will +first check if `$XDG_CONFIG_HOME/pirate-get/pirate.cfg` exists, then check if +`$HOME/.config/pirate-get/pirate.cfg` exists, and load the first file it finds. + ### SaveToFile