From 0facfd6c58fd94c29013ae76d506cd243db89c5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= <maandree@operamail.com> Date: Wed, 31 Oct 2012 23:39:59 +0100 Subject: [PATCH] document new directory alternatives --- manuals/ponysay.texinfo | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/manuals/ponysay.texinfo b/manuals/ponysay.texinfo index 43cc3878..c8f22025 100644 --- a/manuals/ponysay.texinfo +++ b/manuals/ponysay.texinfo @@ -577,6 +577,10 @@ You can examine the source code of @command{ponysay} to figure out some nice hac you may want to do, everything in the source code can be used directly as long as it is defined before @file{~/.ponysayrc} is interpreted. +@file{~/.ponysayrc} is a fallback for @file{~/.config/ponysay/ponysayrc}, which in +turn is a fallback for @file{${XDG_CONFIG_HOME}/ponysay/ponysayrc}. If neither of +those exist, @file{/etc/ponysayrc} is used if that exists. + @node Environment variables @@ -2493,7 +2497,7 @@ Pony files located in @file{/usr/share/ponysay}. @itemx usrponies @cindex homeponies @cindex usrponies -Pony files located in @file{~/.local/share/ponysay}. +Pony files located in @file{${XDG_DATA_HOME}/ponysay} or @file{~/.local/share/ponysay} (fallback). @item browser ponies @cindex browser ponies