From 1c11ba8dbd4d8de87695f31caee58a71aa6d2d36 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 27 Aug 2018 13:11:30 +0530 Subject: [PATCH] ... --- kitty/cli.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kitty/cli.py b/kitty/cli.py index 0ff9bffa7..a39121122 100644 --- a/kitty/cli.py +++ b/kitty/cli.py @@ -29,7 +29,10 @@ directory is always used and the above searching does not happen. If :file:`/etc/xdg/{appname}/{conf_name}.conf` exists it is merged before (i.e. with lower priority) than any user config files. It can be used to specify system-wide defaults for all users. -'''.replace('{macos_confpath}', ':file:`~/Library/Preferences/{appname}/{conf_name}.conf`,' if is_macos else '') +'''.replace( + '{macos_confpath}', + (':file:`~/Library/Preferences/{appname}/{conf_name}.conf`,' if is_macos else ''), 1 +) def surround(x, start, end):