Skip to content

Commit

Permalink
also alias vagrant vms in my prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Luehrs authored and doy committed Aug 11, 2015
1 parent 17142dc commit e51ab74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/fancy-prompt
Expand Up @@ -13,7 +13,8 @@ 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-jesse-luehrs1';
$hostname = 'vagrant' if $hostname eq 'packer-vmware-iso';
my $cols = `tput cols`;
my $pwd = defined $ENV{PWD} ? $ENV{PWD} : '???';
my $user = defined $ENV{USER} ? $ENV{USER} : '???';
Expand Down

0 comments on commit e51ab74

Please sign in to comment.