mirror of
https://github.com/nikdoof/dotfiles.git
synced 2026-01-30 02:48:15 +00:00
[zed] Update config
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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.
|
||||||
|
function zed() {
|
||||||
|
for zed_path in "$HOME/Applications/Zed.app" "/Applications/Zed.app"; do
|
||||||
if [ -d "$zed_path" ]; then
|
if [ -d "$zed_path" ]; then
|
||||||
alias zed="$zed_path/Contents/MacOS/cli"
|
"$zed_path/Contents/MacOS/cli" "$@"
|
||||||
break
|
return
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
echo "Zed application not found in common locations."
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|||||||
1
zed/.config/zed/tasks.json
Normal file
1
zed/.config/zed/tasks.json
Normal file
@@ -0,0 +1 @@
|
|||||||
|
[]
|
||||||
Reference in New Issue
Block a user