X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;f=lib%2FCmdLine.pm;h=e6d6ead6ea374903d7d147ec32523a056d29d97c;hb=a9a87bbe82dc57fbb837f86139419eaf76095105;hp=ed928431c92cf732d661d7c1c1ec072da185e481;hpb=8b0383ec715065d978e23e72864bcdbf0fc68ecc;p=clearscm.git diff --git a/lib/CmdLine.pm b/lib/CmdLine.pm index ed92843..e6d6ead 100644 --- a/lib/CmdLine.pm +++ b/lib/CmdLine.pm @@ -507,7 +507,7 @@ Returns: my $me = get_me; - $histfile ||= ".${me}_hist"; + $histfile ||= "$ENV{HOME}/.${me}_hist"; error "Creating bogus .${me}_hist file!" if $me eq '-' or $me eq '';