+ PS2 now unique to prevent confusion
+ Added custom python prompt theme
This commit is contained in:
parent
e28d71ce14
commit
34a791751c
4 changed files with 8 additions and 2 deletions
5
.config/python/pyrc
Executable file
5
.config/python/pyrc
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
import sys
|
||||
import os
|
||||
sys.ps1='\x1b[1;49;34m\n{}\n\x1b[1;49;32m!>\x1b[0m '.format(os.getlogin()) # bright yellow
|
||||
sys.ps2='\x1b[1;49;34m?>\x1b[0m ' # bright red
|
Loading…
Add table
Add a link
Reference in a new issue