flathub / com.sublimetext.three

https://flathub.org/apps/details/com.sublimetext.three
6 stars 4 forks source link

How to use subl command? #24

Closed asch75 closed 3 years ago

asch75 commented 3 years ago

Hi guys, need some help.

How can I use the subl command, (available in Sublime Text), through terminal?

Thanks.

ptomato commented 3 years ago

I have alias subl='flatpak run com.sublimetext.three' in my ~/.bashrc file.

Jmennius commented 3 years ago

Alternatively, you can create a symbolic link to flatpak exports like so ln -s /var/lib/flatpak/exports/bin/com.sublimetext.three /usr/local/bin/subl. This is shell agnostic.

P.S. should this be closed?