Last updated 1 year ago
terminal
vi ~/.bashrc
.bashrc
PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
+
:w - save
:w
:wq: - save & close file
:wq:
i - insert
i
o - next line
o
s - delete char & insert
s
S - delete line & insert
S
Esc - exit insert mode
Esc