mirror of
https://github.com/nikdoof/dotfiles.git
synced 2026-01-30 02:48:15 +00:00
[zed] Add helper alias from shell-common
This commit is contained in:
9
zed/.config/shell-common/99_zed.sh
Normal file
9
zed/.config/shell-common/99_zed.sh
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Zed specific shell configuration
|
||||||
|
|
||||||
|
# Detect Zed installation in common locations
|
||||||
|
for zed_path in "$HOME/Applications/Zed.app" "/Applications/Zed.app"; do
|
||||||
|
if [ -d "$zed_path" ]; then
|
||||||
|
alias zed="$zed_path/Contents/MacOS/cli"
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user