Make python prompt cooler!
I should probably do real work, but I'm waiting for something to compile so ya know.
This commit is contained in:
parent
1338ee9f3a
commit
f9a82e2d34
@ -8,15 +8,12 @@ import sys
|
||||
|
||||
blue = '\001\033[1;34m\002'
|
||||
yellow = '\001\033[1;33m\002'
|
||||
|
||||
magenta = '\001\033[1;35m\002'
|
||||
red = '\001\033[1;31m\002'
|
||||
reset = '\001\033[0m\002'
|
||||
|
||||
# Primary prompt: (>>> ) in magenta
|
||||
sys.ps1 = yellow + '○' + reset + ' '
|
||||
# Secondary prompt: (... ) in red
|
||||
sys.ps2 = blue + '•' + reset + ' '
|
||||
# Primary prompt: (∞) in yellow
|
||||
sys.ps1 = yellow + '►' + reset + ' '
|
||||
# Secondary prompt: (•) in blue
|
||||
sys.ps2 = blue + '▼' + reset + ' '
|
||||
|
||||
# Use ~/.history/python as a history file instead of ~/.python_history
|
||||
def custom_readline():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user