mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 16:10:45 +01:00
fix(fish): resolve code binary dynamically
This commit is contained in:
parent
ea20be5b58
commit
5cf5ed65b7
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue