summaryrefslogtreecommitdiff
path: root/languages/php/.psysh/rc.php
blob: ccc188bc5e36429ee34918a78857d9ec8f9f968a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

$config = [
    'pager'       => 'more',
    'usePcntl'    => true,
    'useReadline' => true,
    'commands'    => [
        new \Psy\Command\ParseCommand,
    ],
];

$f = getenv('HOME') . '/.composer/vendor/autoload.php';
if (file_exists($f)) { $config['defaultIncludes'] = [$f]; }

return $config;