eldarion99
Programmer
1) I used to be able to use Esc-K (Escape and k key) to retrieve the last command from .sh_history (it would take you to the command in vi mode so you could use vi commands to edit it also). Does anyone remember how to do this?
2) How do you change the prompt before the $ to JUST the directory you are in? It is currently showing my id and the name of the box, which I don't want.
I should've kept my old code from my last job!!!! This is easy to forget after several years of taking it for granted. Thanks for any help.
2) How do you change the prompt before the $ to JUST the directory you are in? It is currently showing my id and the name of the box, which I don't want.
I should've kept my old code from my last job!!!! This is easy to forget after several years of taking it for granted. Thanks for any help.