Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
R.L. Dane :Debian: :OpenBSD: 馃嵉
R.L. Dane :Debian: :OpenBSD: 馃嵉
@rl_dane@polymaths.social  路  activity timestamp 2 weeks ago

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

  • Copy link
  • Flag this post
  • Block
pinage404.rss :nixos:
pinage404.rss :nixos:
@pinage404@mamot.fr replied  路  activity timestamp 15 hours ago

@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 !

https://gitlab.com/pinage404/dotfiles/-/commit/5089def105806afe92684609a004081cf5aa136d

#FishShell #Fish_Shell #Recap #Rewind

  • Copy link
  • Flag this comment
  • Block
Caleb Maclennan
Caleb Maclennan
@alerque@mastodon.social replied  路  activity timestamp 8 hours ago

@pinage404 @rl_dane for best 2026 stat start using #atuin today. You'll thank me for other reasons later.

  • Copy link
  • Flag this comment
  • Block
pinage404.rss :nixos:
pinage404.rss :nixos:
@pinage404@mamot.fr replied  路  activity timestamp 15 hours ago

@rl_dane

Here is mine :
1. #git :blobcatheart:
2. #lsd https://github.com/lsd-rs/lsd :blobcatrainbow:
3. #cat (which is actually an alias over #bat https://github.com/sharkdp/bat 馃)
4. #rg #RipGrep https://github.com/BurntSushi/ripgrep 馃
5. #Nix https://nixos.org :nixos:

Since 2025-01-01 until 2025-12-31 your 10 most used commands was :
    827 git
    388 lsd
    283 cat
    243 rg
    201 nix
    200 ollama
    164 code
    152 systemctl
    135 z
    121 rm
Since 2025-01-01 until 2025-12-31 your 10 most used commands was : 827 git 388 lsd 283 cat 243 rg 201 nix 200 ollama 164 code 152 systemctl 135 z 121 rm
Since 2025-01-01 until 2025-12-31 your 10 most used commands was : 827 git 388 lsd 283 cat 243 rg 201 nix 200 ollama 164 code 152 systemctl 135 z 121 rm
  • Copy link
  • Flag this comment
  • Block
pinage404.rss :nixos:
pinage404.rss :nixos:
@pinage404@mamot.fr replied  路  activity timestamp 15 hours ago

@rl_dane

The same with only git subcommands

https://gitlab.com/pinage404/dotfiles/-/commit/d7b68dc8900c020e02c58c7fd8c6d6f618d63eb3

Since 2025-01-01 until 2025-12-31 your 10 most used git subcommands was :
    162 git switch
     85 git branch
     52 git rebase
     49 git gamble
     45 git log
     41 git clone
     40 git remote
     36 git add
     33 git reset
     33 git push
Since 2025-01-01 until 2025-12-31 your 10 most used git subcommands was : 162 git switch 85 git branch 52 git rebase 49 git gamble 45 git log 41 git clone 40 git remote 36 git add 33 git reset 33 git push
Since 2025-01-01 until 2025-12-31 your 10 most used git subcommands was : 162 git switch 85 git branch 52 git rebase 49 git gamble 45 git log 41 git clone 40 git remote 36 git add 33 git reset 33 git push
  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire social 路 1.0.1-alpha.41 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct