summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <jesse.luehrs@stripe.com>2015-11-25 16:20:14 -0800
committerJesse Luehrs <doy@tozt.net>2015-11-25 16:23:57 -0800
commitcd24a2749a17152153fd7de9a2bea56580e59b24 (patch)
treeb8c5c936945c7c77e1a47dd16b46bc798094b104
parentea709fce57852ed86272ae2301b432d499802c0d (diff)
downloadconf-cd24a2749a17152153fd7de9a2bea56580e59b24.tar.gz
conf-cd24a2749a17152153fd7de9a2bea56580e59b24.zip
prompt updates for my work laptop renaming
-rwxr-xr-xbin/fancy-prompt5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/fancy-prompt b/bin/fancy-prompt
index 4711ba8..866966e 100755
--- a/bin/fancy-prompt
+++ b/bin/fancy-prompt
@@ -13,7 +13,7 @@ if ($ARGV[0] eq '--prompt-escape') {
# collect information
chomp(my $hostname = `hostname`);
-$hostname = 'work' if $hostname eq 'st-jesse-luehrs1';
+$hostname = 'work' if $hostname eq 'st-doy1';
$hostname = 'vagrant' if $hostname eq 'packer-vmware-iso';
my $cols = `tput cols`;
my $pwd = defined $ENV{PWD} ? $ENV{PWD} : '???';
@@ -71,11 +71,10 @@ my %colornames = (
host_tozt => 'yellow',
host_xtahua => 'lightmagenta',
host_lance => 'red',
- host_work => 'lightblue',
+ host_work => 'white',
unknown_host => 'brown',
user_doy => 'lightblue',
- 'user_jesse-luehrs' => 'white',
root => 'lightred',
unknown_user => 'brown',