+ PS2 now unique to prevent confusion

+ Added custom python prompt theme
This commit is contained in:
ziro 2020-11-07 06:57:37 +07:00
parent e28d71ce14
commit 34a791751c
4 changed files with 8 additions and 2 deletions

5
.config/python/pyrc Executable file
View 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