eshrc: check for toaru-vga instead of running terminal-vga
This commit is contained in:
parent
bb0448b935
commit
33e29e2d21
@ -5,9 +5,7 @@ export RLINE_THEME="sunsmoke"
|
||||
# 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-cmd START kcmdline -g start
|
||||
if equals? "$START" "--vga" then export RLINE_THEME="default" else export RLINE_THEME="sunsmoke"
|
||||
unset START
|
||||
if equals? "$TERM" "toaru-vga" then export RLINE_THEME="default" else export RLINE_THEME="sunsmoke"
|
||||
|
||||
if stat -Lq /usr/local/bin then export PATH="/usr/local/bin:$PATH"
|
||||
if stat -Lq /usr/i686-pc-toaru/bin then export PATH="/usr/i686-pc-toaru/bin:$PATH"
|
||||
|
Loading…
x
Reference in New Issue
Block a user