diff install.py @ 447:48933cecdf7f

Add Tridactyl config.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 28 Aug 2018 22:48:06 -0700
parents edefbb8ea16a
children cc00cbbf5460
line wrap: on
line diff
--- a/install.py	Mon May 21 21:59:23 2018 -0700
+++ b/install.py	Tue Aug 28 22:48:06 2018 -0700
@@ -249,6 +249,13 @@
     ])
 
 
+def install_tridactyl():
+    cfgname = '~/_tridactylrc' if is_windows else '~/.tridactylrc'
+    writelines(cfgname, [
+        'source %s' % _p('tridactyl/tridactylrc')
+    ])
+
+
 def _on_error_try_make_readable(func, path, exc_info):
     if not os.access(path, os.W_OK):
         os.chmod(path, stat.S_IWUSR)