News for hackers. Stuff that matters.
Re:Rga: Ripgrep, but also search in PDFs, E-Books, Office do... by tasuki on Wednesday December 02, 2020 @02:13PM (#25280178)
About a year ago, I discovered it was very helpful for me to have git branches ordered by "recently modified first":

From my `~/.gitconfig`:

    [alias]
        brt = "!git for-each-ref refs/heads --color=always --sort -committerdate --format='%(HEAD)%(color:reset);%(color:yellow)%(refname:short)%(color:reset);%(contents:subject);%(color:green)(%(committerdate:relative))%(color:blue);<%(authorname)>' | column -t -s ';'"
I always spent a lot of time being confused about branches, and never realised how easy the solution was.
Re:Rga: Ripgrep, but also search in PDFs, E-Books, Office do... by rurban on Thursday December 03, 2020 @10:14AM (#25289568)
I prefer the version without column

    brt = "!git for-each-ref refs/heads --color=always --sort -committerdate --format='%(HEAD)%(color:reset) %(color:yellow)%(refname:short)%(color:reset) %(contents:subject) %(color:green)(%(committerdate:relative))%(color:blue) <%(authorname)>'"
Re:Rga: Ripgrep, but also search in PDFs, E-Books, Office do... by simias on Wednesday December 02, 2020 @02:32PM (#25280457)
Oh that's a great idea, I'd definitely stealing that, thanks!
Re:Rga: Ripgrep, but also search in PDFs, E-Books, Office do... by nicoburns on Wednesday December 02, 2020 @09:36PM (#25284598)
Amazing. This should be the default!