Fix config edit mac os
diff --git a/README.md b/README.md
index ba8fafb62..a63759189 100644
--- a/README.md
+++ b/README.md
@@ -350,6 +350,10 @@ pip install fastapi uvicorn
 uvicorn server:app --reload
 ```
 
+## Android
+
+The step-by-step guide for installing Open Interpreter on your Android device can be found in the [open-interpreter-termux repo](https://github.com/Arrendy/open-interpreter-termux).
+
 ## Safety Notice
 
 Since generated code is executed in your local environment, it can interact with your files and system settings, potentially leading to unexpected outcomes like data loss or security risks.
diff --git a/interpreter/terminal_interface/start_terminal_interface.py b/interpreter/terminal_interface/start_terminal_interface.py
index 58b5674bd..2a24c6c47 100644
--- a/interpreter/terminal_interface/start_terminal_interface.py
+++ b/interpreter/terminal_interface/start_terminal_interface.py
@@ -304,18 +304,10 @@ def start_terminal_interface(interpreter):
 
         if platform.system() == "Windows":
             os.startfile(config_directory)
-        else:
-            subprocess.call(["xdg-open", config_directory])
-
-        # Use the default system editor to open the file
-        if platform.system() == "Windows":
-            os.startfile(
-                config_file
-            )  # This will open the file with the default application, e.g., Notepad
         else:
             try:
                 # Try using xdg-open on non-Windows platforms
-                subprocess.call(["xdg-open", config_file])
+                subprocess.call(["xdg-open", config_directory])
             except FileNotFoundError:
                 # Fallback to using 'open' on macOS if 'xdg-open' is not available
                 subprocess.call(["open", config_file])

### Describe the changes you have made:
Added the `try...except` in case MacOS does not have `xdg-open` installed and calls `open` instead. Previous functionality that was removed when updating `config_file` to `config_directory` as seen in https://github.com/KillianLucas/open-interpreter/commit/3241ae47372693e083b4bb07c2753339814f39d2#diff-dbfabffe97449287c29c05be833deaec361f15787ac3befc0ad745b826d9867bR301-R322   

### Reference any relevant issues (e.g. "Fixes #000"):

### Pre-Submission Checklist (optional but appreciated):

- [ ] I have included relevant documentation updates (stored in /docs)
- [ ] I have read `docs/CONTRIBUTING.md`
- [ ] I have read `docs/ROADMAP.md`

### OS Tests (optional but appreciated):

- [ ] Tested on Windows
- [ ] Tested on MacOS
- [ ] Tested on Linux
