diff --git a/dot_config/opencode/opencode.json b/dot_config/opencode/opencode.json index 75d1786..84b7d26 100644 --- a/dot_config/opencode/opencode.json +++ b/dot_config/opencode/opencode.json @@ -135,7 +135,7 @@ ], "mcp": { "chrome-devtools": { - "enabled": true, + "enabled": false, "type": "local", "command": [ "npx", @@ -148,7 +148,7 @@ "playwright": { "enabled": true, "type": "local", - "command": ["npx", "-y", "playwright/mcp@latest"] + "command": ["npx", "-y", "@playwright/mcp@latest", "--extension"] }, "livekit-docs": { "enabled": false, diff --git a/dot_config/private_fish/config.fish b/dot_config/private_fish/config.fish index 9380d0e..73aa42e 100644 --- a/dot_config/private_fish/config.fish +++ b/dot_config/private_fish/config.fish @@ -13,7 +13,16 @@ abbr -a zd "zellij --layout dev" abbr -a watch "watch -c -n 1 --" # Initialize zoxide if installed +# Initialize zoxide and let it override cd. if command -q zoxide + # Work around fish 4.x + zoxide reading missing $__fish_data_dir/functions/cd.fish. + # Define zoxide's internal "real cd" copy from fish's loaded cd function instead. + if not functions -q __zoxide_cd_internal + functions cd | + string replace --regex -- '^function cd\s' 'function __zoxide_cd_internal ' | + source + end + zoxide init fish --cmd cd | source end