Skip to content

Instantly share code, notes, and snippets.

Christopher Stott christopherstott

Block or report user

Report or block christopherstott

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
christopherstott / package.json
Created Nov 14, 2017
log-colors package.json
View package.json
"name": "log-colors",
"version": "1.0.0",
"description": "A colorized winston console logger",
"main": "index.js",
"scripts": {
"test": "node_modules/.bin/mocha --reporter spec"
"repository": {
"type": "git",
View import_zsh_history_to_fish.js
'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 {
You can’t perform that action at this time.