Skip to content

Commit

Permalink
prompt updates for my work laptop renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Luehrs authored and doy committed Nov 26, 2015
1 parent ea709fc commit cd24a27
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/fancy-prompt
Expand Up @@ -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} : '???';
Expand Down Expand Up @@ -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',

Expand Down

0 comments on commit cd24a27

Please sign in to comment.