[zed] Update config

This commit is contained in:
Andrew Williams
2026-01-07 17:22:17 +00:00
parent 9b7b7996eb
commit 5069d92f3f
3 changed files with 14 additions and 7 deletions

View File

@@ -68,6 +68,7 @@ cask "viscosity"
cask "visual-studio-code" cask "visual-studio-code"
cask "vlc" cask "vlc"
cask "wireshark-app" cask "wireshark-app"
cask "zed"
cask "font-input" cask "font-input"
cask "font-inter" cask "font-inter"

View File

@@ -1,9 +1,14 @@
# Zed specific shell configuration # Zed specific shell configuration
# Detect Zed installation in common locations # Rather than installing or linking the Zed CLI, we define a function that
for zed_path in "$HOME/Applications/Zed.app" "/Applications/Zed.app"; do # locates the Zed application and invokes its CLI directly.
if [ -d "$zed_path" ]; then function zed() {
alias zed="$zed_path/Contents/MacOS/cli" for zed_path in "$HOME/Applications/Zed.app" "/Applications/Zed.app"; do
break if [ -d "$zed_path" ]; then
fi "$zed_path/Contents/MacOS/cli" "$@"
done return
fi
done
echo "Zed application not found in common locations."
return 1
}

View File

@@ -0,0 +1 @@
[]