f92e74e96687

Merge.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 26 Jan 2020 17:32:54 -0500
parents d9ee2c4aa85b (current diff) 93820aa446f2 (diff)
children 94cdb40fffab d3f648295e4f
branches/tags (none)
files

Changes

--- a/bash_profile	Sun Jan 26 17:32:44 2020 -0500
+++ b/bash_profile	Sun Jan 26 17:32:54 2020 -0500
@@ -18,11 +18,12 @@
 fi
 
 D=$'\e[37m'
-PINK=$'\e[35m'
+RED=$'\e[31m'
 GREEN=$'\e[32m'
 ORANGE=$'\e[33m'
-RED=$'\e[31m'
-CYAN=$'\e[34m'
+BLUE=$'\e[34m'
+PINK=$'\e[35m'
+CYAN=$'\e[36m'
 
 function last_return_value() {
     x="$?"
@@ -36,12 +37,12 @@
 }
 
 if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
-  HOST_COLOR="$CYAN"
+  HOST_COLOR="$BLUE"
 else
   HOST_COLOR="$ORANGE"
 fi
 
-export PS1='\n${PINK}\u ${D}at ${HOST_COLOR}\h ${D}in ${GREEN}\w${D}\n$(last_return_value)$ '
+export PS1='\n${PINK}\u ${D}at ${HOST_COLOR}\h ${D}in ${GREEN}\w${D} $(last_return_value)$ '
 
 alias ..="cd .."
 alias ...="cd ../.."