diff options
author | Jesse Luehrs <jesse.luehrs@stripe.com> | 2015-08-10 22:19:44 -0700 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2015-08-10 22:39:18 -0700 |
commit | e51ab749a499f3c36fa0f644ef3d94ff1c47697a (patch) | |
tree | 98cd2251a241183347f3a534d6d5abac080f5ea5 /bin | |
parent | 17142dc53fb1e03b31f0c5bedc233907b9ff7aa1 (diff) | |
download | conf-e51ab749a499f3c36fa0f644ef3d94ff1c47697a.tar.gz conf-e51ab749a499f3c36fa0f644ef3d94ff1c47697a.zip |
also alias vagrant vms in my prompt
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fancy-prompt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/fancy-prompt b/bin/fancy-prompt index e586b25..4711ba8 100755 --- a/bin/fancy-prompt +++ b/bin/fancy-prompt @@ -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} : '???'; |