Skip to content

Instantly share code, notes, and snippets.

'use strict';
const fs = require('fs');
const expandHomeDir = require('expand-home-dir');
const zshHistoryRaw = fs.readFileSync(expandHomeDir('~/.zsh_history'), 'utf8');
const zshHistoryLines = zshHistoryRaw.split('\n');
const transformLine = line => {
try {
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("friendfeed.com") {
body,input.l_toinput {
background-color: #202420!important;
color: #fff!important;
}
div.comments {
color: #eaeaea!important;