eshrc hack to make vga terminal use default rline theme
This commit is contained in:
parent
2b4e787b6f
commit
8fcf56f716
@ -3,4 +3,6 @@ export PS1_RIGHT="\\[\\e[1m\\e[38;5;59m\\][\\[\\e[38;5;173m\\]\\d \\[\\e[38;5;16
|
||||
export PS1_LEFT="${PS1_TITLE}\\[\\e[1m\\e[38;5;221m\\]\\u\\[\\e[38;5;59m\\]@\\[\\e[38;5;81m\\]\\h \\[\\e[38;5;167m\\]\\r\\[\\e[0m\\]\\w\\U\\\$\\[\\e[0m\\] "
|
||||
# Old prompt
|
||||
export PS1="\\e]1;\\u@\\h:\\w\\007\\e]2;\\u@\\h:\\w\\007\\e[1m\\e[s\\e[400C\\e[16D\\e[1m\\e[38;5;59m[\\e[38;5;173m\\d \\e[38;5;167m\\t\\e[38;5;59m]\\e[u\\e[38;5;221m\\u\\e[38;5;59m@\\e[38;5;81m\\h \\e[38;5;167m\\r\\e[0m\\w\\U\\\$\\e[0m "
|
||||
export RLINE_THEME="sunsmoke"
|
||||
|
||||
export-cmd START kcmdline -g start
|
||||
if equals? "$START" "--vga" then export RLINE_THEME="default" else export RLINE_THEME="sunsmoke"
|
||||
|
Loading…
Reference in New Issue
Block a user