6b554712998c4948588244a9818f0639f4f5729e
3 # First pipe member may need to be modified for a desired history file (path and splitting).
5 awk -F';' '{sub("^" $1 ";", ""); print}' ~
/.zsh_history |
awk '{curr = $1; links[NR, prev] = curr; prev = curr} END {printf "digraph G {"; for (node in links) {split(node, n, SUBSEP); printf "\"%s\" -> \"%s\"\n", n[2], links[node]}; printf "}\n"}' | neato
-T png
-Goverlap=false | feh
-
This page took 0.040704 seconds and 5 git commands to generate.