source:
dotfiles/php/.psysh/rc.php@
dc74d32
Last change on this file since dc74d32 was c53d99e, checked in by , on Jul 3, 2022 at 8:18:15 PM | |
---|---|
|
|
File size: 308 bytes |
Line | |
---|---|
1 | <?php |
2 | |
3 | $config = [ |
4 | 'pager' => 'more', |
5 | 'usePcntl' => true, |
6 | 'useReadline' => true, |
7 | 'commands' => [ |
8 | new \Psy\Command\ParseCommand, |
9 | ], |
10 | ]; |
11 | |
12 | $f = getenv('HOME') . '/.composer/vendor/autoload.php'; |
13 | if (file_exists($f)) { $config['defaultIncludes'] = [$f]; } |
14 | |
15 | return $config; |
Note:
See TracBrowser
for help on using the repository browser.