mirror of
https://git.freebsd.org/ports.git
synced 2025-06-25 14:40:32 -04:00
history, tab completion, quick access to documentation. It was developed at Facebook and ironically, is written mostly in python. It is open source and released under a modified BSD license. WWW: http://phpsh.org/
14 lines
326 B
Python
14 lines
326 B
Python
|
|
$FreeBSD$
|
|
|
|
--- src/phpsh.py.orig
|
|
+++ src/phpsh.py
|
|
@@ -274,7 +274,7 @@
|
|
self.config.add_section("Emacs")
|
|
|
|
def read(self):
|
|
- config_files = ["/etc/phpsh/config"]
|
|
+ config_files = ["%%PREFIX%%/etc/phpsh/config"]
|
|
home = os.getenv("HOME")
|
|
if home:
|
|
homestr = home.strip()
|