no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | linux:misc:normal_prompt [2019/10/31 09:05] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Normal terminal prompt ====== | ||
+ | Edit .bashrc and replace the PS1 variable with: | ||
+ | <code bash> | ||
+ | NOW=$(date +%Y-%m-%d) | ||
+ | PS1=" | ||
+ | </ | ||
+ | |||
+ | This will result with | ||
+ | |||
+ | < | ||
+ | |||
+ | |||
+ | Since .bashrc is executed last, this change cannot be made for all users |