1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

fix(fish): resolve code binary dynamically

This commit is contained in:
Ryan Cao 2023-09-04 22:34:45 +08:00
parent ea20be5b58
commit 5cf5ed65b7
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E

View file

@ -22,7 +22,7 @@ in {
if test -d "$argv[1]" -o -f "$argv[1]"
open -a "Visual Studio Code" "$argv[1]"
else
"/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code" $argv
command code $argv
end
'';
};