From 3afc049ba90c00507e91ce3c927fe4973e03544d Mon Sep 17 00:00:00 2001 From: James Patrick Date: Thu, 19 Mar 2020 15:32:57 -0400 Subject: [PATCH] Eliminate unversioned configuration. This clears all additional functions. If you want something --- tridactyl/tridactylrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tridactyl/tridactylrc b/tridactyl/tridactylrc index dcc5201..a6cbe4b 100644 --- a/tridactyl/tridactylrc +++ b/tridactyl/tridactylrc @@ -6,6 +6,9 @@ "░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ " +" Clear the config +sanitise tridactyllocal tridactylsync + alias tabsort jsb browser.tabs.query({}).then(tabs => tabs.sort((t1, t2) => t1.url.localeCompare(t2.url)).forEach((tab, index) => browser.tabs.move(tab.id, {index}))) alias tabuniq jsb browser.tabs.query({}).then(tabs => browser.tabs.remove(tabs.filter((tab, index) => tabs.slice(index + 1).find(t => t.url == tab.url)).map(tab => tab.id)))