From 8fcf56f716e2ff7ebf1ab671746f676d87e0426b Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Fri, 14 Sep 2018 22:49:23 +0900 Subject: [PATCH] eshrc hack to make vga terminal use default rline theme --- base/home/local/.eshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/base/home/local/.eshrc b/base/home/local/.eshrc index 177e35ce..e102b0e2 100644 --- a/base/home/local/.eshrc +++ b/base/home/local/.eshrc @@ -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"