toaruos/base/home/local/.eshrc

13 lines
886 B
Plaintext

export PS1_TITLE="\[\e]1;\u@\h:\w\\007\e]2;\u@\h:\w\\007\]"
export PS1_RIGHT="\[\\e[1m\e[38;5;59m\][\[\e[38;5;173m\]\d \[\e[38;5;167m\]\t\[\e[38;5;59m\]] \[\e[0m\]"
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\] "
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 "
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"
if stat -Lq /usr/share/python-demos then export PATH="/usr/share/python-demos:$PATH"