Category Archives: Linux

Your Bash Prompt Needs This

Have you ever had this happen to you? You start a program and then interrupt it with Ctrl-C, and Bash prints its prompt after the ^C you have typed: prompt$ a very long command ^Cprompt$ █ Then you hit the Up key to retrieve very long command from the history and try to edit it, [...]