Skip to content

Commit

Permalink
'perlbrew use' should not break the user's shell
Browse files Browse the repository at this point in the history
Starting bash subshells with --norc breaks the users shell setup and
seems unecessary. The --profile option is also unecessary since a
non-login shell is being started anyways.
  • Loading branch information
calid committed Dec 24, 2014
1 parent 7e9a68d commit 3663805
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions perlbrew
Original file line number Diff line number Diff line change
Expand Up @@ -1711,9 +1711,6 @@ $fatpacked{"App/perlbrew.pm"} = '#line '.(1+__LINE__).' "'.__FILE__."\"\n".<<'AP
}
}
elsif ($shell =~ /\/bash$/) {
$shell_opt = "--noprofile --norc";
}
my %env = ($self->perlbrew_env($name), PERLBREW_SKIP_INIT => 1);
Expand Down

0 comments on commit 3663805

Please sign in to comment.