home.social

#year_in_review — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #year_in_review, aggregated by home.social.

  1. @rl_dane I saw this just before sleep

    I tried with #Fish

    Fish store history as #YAML

    I tweaked the command to make it barely works

    Since it's YAML, it's store the timestamps

    So, i tried to do an actual #year_in_review

    3 hours later, here it is !

    gitlab.com/pinage404/dotfiles/

    #FishShell #Fish_Shell #Recap #Rewind

  2. HERE IS YOUR #bash history #recap / #rewind / #year_in_review !!!

    grep -v "^[[:space:]]*#" ~/.bash_history |sed -E 's/^ *(sudo|doas) *//g' |awk '{print $1}' |sort |uniq -c |sort -n |tail -n $((LINES-2))
    

    Example from this laptop:

      54 updateall
      57 nsxiv
      58 pipx
      63 pkg_info
      73 tail
      92 git
     106 ssh
     109 w3m
     110 less
     127 echo
     138 type
     194 searchall
     214 grep
     225 ststatus
     275 duck
     286 ll
     292 vi
     341 man
     433 cd
     453 ls
    

    (Of course, it's not strictly a YEAR in review. Bash can timestamp the history, but most people don't have that turned on by default)

    #YearInReview