flathub / com.visualstudio.code.oss

https://flathub.org/apps/details/com.visualstudio.code.oss
GNU Affero General Public License v3.0
47 stars 12 forks source link

Code command from the terminal #26

Closed omarllm closed 5 years ago

omarllm commented 5 years ago

I don't know if this is related to https://github.com/flathub/com.visualstudio.code.oss/issues/5

Is it possible to run code to open Visual Studio Code - OSS?

I've tried to install 'code' command in PATH from the Command Palette with no success, following this guide.

TingPing commented 5 years ago

If you want code to work you have to make an alias in your shell.

trevorkirpaul commented 5 years ago

If it helps anyone, here is the alias I used within my .zshrc file:

# Flatpak Code-OSS alias
alias code="flatpak run com.visualstudio.code.oss"