source:
dotfiles/languages/php/.psysh/rc.php@
254aa1d
Last change on this file since 254aa1d was 254aa1d, checked in by , on Aug 5, 2024 at 6:53:43 AM | |
---|---|
|
|
File size: 308 bytes |
Rev | Line | |
---|---|---|
[c53d99e] | 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.