In windows powershell I can open a pdf in adobe reader by doing

> Invoke-Item ~/path/to/my.pdf

Is there a way to open files in the default gui app from zsh?


You can run xdg-open ~/path/to/file.pdf.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.