[HN Gopher] Show HN: Unix tool that visualizes shell commands usage
       ___________________________________________________________________
        
       Show HN: Unix tool that visualizes shell commands usage
        
       Author : irevenko
       Score  : 19 points
       Date   : 2021-02-26 20:43 UTC (2 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | breck wrote:
       | YES!!! I've been waiting for someone to do this for a decade or
       | more.
       | 
       | This + https://tldr.sh/ and the command line will be so much
       | easier for me (but especially beginners!).
       | 
       | With your tool, having an easy way to copy and paste your
       | personal usage into some central website and then have some
       | scripts would be a great thing to show aggregates.
       | 
       | You could probably just create a single new repo and people could
       | send PR's with their usage dumped to CSV (and they could remove
       | any person info manually before). Then you just have a script
       | that reads those CSVs and prints a nice web page with summary
       | data.
        
       | przemub wrote:
       | A cool tool!
        
       | PeterWhittaker wrote:
       | Looks cool, but nothing much happens for me. I used brew to
       | install go, then ran the following:                 % type -a go
       | /usr/local/bin/go       % cd tsukae       % go get -d ./...
       | go: downloading github.com/inconshreveable/mousetrap v1.0.0
       | % go run main.go       o: downloading github.com/spf13/cobra
       | v1.1.3       go: downloading github.com/gizak/termui/v3 v3.1.0
       | go: downloading github.com/mattn/go-runewidth v0.0.2       go:
       | downloading github.com/nsf/termbox-go
       | v0.0.0-20190121233118-02980233997d       go: downloading
       | github.com/mitchellh/go-wordwrap
       | v0.0.0-20150314170334-ad45545899c7       go: downloading
       | github.com/spf13/pflag v1.0.5
       | 
       | ...a whole lot of usage information... ...but nothing useful (not
       | a go person, so, YMMV)....
       | 
       | Any ideas?
       | 
       | FYI,                 % go version       go version go1.16
       | darwin/amd64
        
         | howeyc wrote:
         | cd tsukae
         | 
         | go build
         | 
         | ./tsukae
        
         | irevenko wrote:
         | try go 1.15
        
       | GrantZvolsky wrote:
       | If one of your top commands is `clear`, you may like my alias
       | `c`:                 $ alias c='clear &&'       $ # Usage:
       | $ c git status
       | 
       | [1]:
       | https://github.com/grantzvolsky/skel/blob/ea43b1969463a97f96...
        
         | Aperocky wrote:
         | If one of your top commands is `cd ../..` you may like my
         | alias/function `..`                   .. 2 # go back 2
         | directories, i.e. 'cd ../..'         .. # 'cd ..'
         | 
         | https://github.com/Aperocky/unix-setup/blob/master/.bashrc#L...
        
       | pletnes wrote:
       | Cool! I've used xonsh for some time, it can store history in
       | sqlite format. Then any such analysis can be done with
       | SELECT...ORDER BY etc.
        
       ___________________________________________________________________
       (page generated 2021-02-26 23:00 UTC)