Hacker News new | ask | show | jobs
by wruza 599 days ago
I always alias rm, mv, cp, ln to -i.

Also, 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:

  \n
  [<status>] user@site [<cwd>]\n
  $ 
So that I see where I am, all commands line up, the last status is obvious and also there’s never this:

  $ cat nonewline.txt
  Oops no newline$ _
My .inputrc always contains https://stackoverflow.com/a/1030206