diff options
Diffstat (limited to 'languages/php/.psysh/rc.php')
-rw-r--r-- | languages/php/.psysh/rc.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/languages/php/.psysh/rc.php b/languages/php/.psysh/rc.php new file mode 100644 index 0000000..ccc188b --- /dev/null +++ b/languages/php/.psysh/rc.php @@ -0,0 +1,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; |