Ask HN: What are the best things in your shell config? Functions, aliases, etc.
What are the most useful/essential things in your shell configuration file. Be it custom function, wrappers, aliases, etc. Please provide an explanation since it isn't always obvious to others.
5 comments
[ 3.8 ms ] story [ 31.6 ms ] threadAlso, gt, gtt, gl, ga, gc, gu, gp, gd, gd2 for git status -s, status, log, add, commit, pull, push, diff, diff to rev. All with useful (to me) flags.
My prompt looks like this:
So that I see where I am, all commands line up, the last status is obvious and also there’s never this: My .inputrc always contains https://stackoverflow.com/a/1030206and i'm good to gp