summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <jesse.luehrs@stripe.com>2015-08-10 22:19:44 -0700
committerJesse Luehrs <doy@tozt.net>2015-08-10 22:39:18 -0700
commite51ab749a499f3c36fa0f644ef3d94ff1c47697a (patch)
tree98cd2251a241183347f3a534d6d5abac080f5ea5 /bin
parent17142dc53fb1e03b31f0c5bedc233907b9ff7aa1 (diff)
downloadconf-e51ab749a499f3c36fa0f644ef3d94ff1c47697a.tar.gz
conf-e51ab749a499f3c36fa0f644ef3d94ff1c47697a.zip
also alias vagrant vms in my prompt
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fancy-prompt3
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} : '???';