Hello, kind of new to manjaro and the whole AUR thing. I recently installed VS code using makepkg and yay and was wondering if and how it would be possible to set things up so I could run VS code using “code” command.
Thank you all for any help in advance.
If you know the name of the executable ─ I do not, because I don’t use that software, sorry ─ then you can create an alias for it in your ~/.bashrc
or ~/.zshrc
, depending on which interactive shell you use.
Something like this…
alias code="vscode"
… whereby your replace vscode
in the command above by the name of the actual executable.
You’ll have to log out and back in for the changes to take effect, though.
1 Like
Which package did you install? There are several versions in the AUR. visual-studio-code-bin
has the /usr/bin/code
excecutable.
2 Likes
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.