From 17777444e67bcd964117f6eae17eb01cb63af88b Mon Sep 17 00:00:00 2001 From: Jono Spiro Date: Wed, 7 Jul 2021 18:10:29 -0700 Subject: [PATCH] Add alternative instructions for non-bash terminals --- templates/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/index.html b/templates/index.html index 33f61db..8bf9037 100644 --- a/templates/index.html +++ b/templates/index.html @@ -49,6 +49,10 @@ The result is a graph of which commands you use after other commands. For example, if you always push after committing, there will be a big arrow from 'commit' to 'push'. +

+ For those using `fish` or other terminals that don't prefix commands + with a number in `history`, try this: +

 history | awk '$1 == "git" {print $2}' | grep -n "." | tr ":" " " > history.txt