8 ms·
Delta has been one of those set and forget things, it's been a while since I've seen 'bare' git grep/diff/blame output, I also use it all the time for normal di
by SushiHippie 2y ago
Delta has been one of those set and forget things, it's been a while since I've seen 'bare' git grep/diff/blame output, I also use it all the time for normal diffs (outside of git repos), but TIL that it also works with ripgrep [0]
As someone else already mentioned there is also bat[1], which was also set and forget, I aliased cat to bat and have a seperate alias vcat for 'vanilla cat' /usr/bin/cat
[0] https://dandavison.github.io/delta/grep.html https://dandavison.github.io/delta/grep.html
[1] https://github.com/sharkdp/bat https://github.com/sharkdp/bat
- desperatecuban 2y agoYou can use \cat to prevent alias expansion.
- aroch 2y agoI have ‘ccat’ aliases to the original cat binary
- drdude 2y agoNeat! thanks for sharing. Few times I needed that but I had to go hunting down the full path.
- SushiHippie 2y agoThat's even better, thank you!
- ossusermivami 2y agoor you can do =cat on zsh
- wlonkly 2y agoOr 'command cat', which is a little less convenient but will also handle the case where "cat" is a function, not an alias. (In bash at least. Not sure about newfangled shells!)