Ignore:
Timestamp:
02/19/19 21:46:48 (5 years ago)
Author:
nanardon
Message:

Retain history from la-cli

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LATMOS-Accounts/bin/la-cli

    r2203 r2205  
    6666    $globalenv->run(@ARGV); 
    6767} else { 
     68    my $history = "$ENV{HOME}/.lacli_history"; 
     69    $LATMOS::Accounts::Cli::term->ReadHistory($history); 
    6870    $globalenv->cli; 
     71    if (! $LATMOS::Accounts::Cli::term->WriteHistory($history)) { 
     72        warn "Cannot write history:  $!\n"; 
     73    } 
    6974} 
    7075print "\n"; 
Note: See TracChangeset for help on using the changeset viewer.