diff --git a/Makefile.PL b/Makefile.PL index 9e25cf5..b2bfec1 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -6,6 +6,7 @@ WriteMakefile( 'DBI' => 0, 'DBD::SQLite' => 0, 'Term::ReadLine' => 0, + 'Term::ReadLine::Gnu' => 0, 'Cwd' => 0, 'File::HomeDir' => 0, }, diff --git a/pshell.pl b/pshell.pl index ec9439a..30c1d0e 100755 --- a/pshell.pl +++ b/pshell.pl @@ -6,6 +6,8 @@ use Environment::SQLite; use Term::ReadLine; use Cwd; use File::HomeDir; +$ENV{TERM} = 'xterm-256color' unless exists $ENV{TERM}; + # Initialize command history and environment my $history = History::SQLite->new(