diff options
author | Jesse Luehrs <jesse.luehrs@stripe.com> | 2015-01-18 21:25:50 -0800 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2015-02-22 16:04:58 -0800 |
commit | bba78c7c131745af6621bd24fab81804d1b7d36a (patch) | |
tree | 75baffd8a57a5f9703b0e72aea688579e687b994 /bin | |
parent | 2e942aefb624f42f3aaf19846338077a37e2b907 (diff) | |
download | conf-bba78c7c131745af6621bd24fab81804d1b7d36a.tar.gz conf-bba78c7c131745af6621bd24fab81804d1b7d36a.zip |
need to shorten the prompt a bit
long username + hostname makes it wrap on 80-character terminals
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fancy-prompt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/fancy-prompt b/bin/fancy-prompt index 19dbab8..e305bac 100755 --- a/bin/fancy-prompt +++ b/bin/fancy-prompt @@ -13,6 +13,7 @@ if ($ARGV[0] eq '--prompt-escape') { # collect information chomp(my $hostname = `hostname`); +$hostname = 'work' if $hostname eq 'st-jesse-luehrs1'; my $cols = `tput cols`; my $pwd = defined $ENV{PWD} ? $ENV{PWD} : '???'; my $user = defined $ENV{USER} ? $ENV{USER} : '???'; |