Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create open -> xdg-open shell alias #951

Merged
merged 1 commit into from
Feb 27, 2024
Merged

feat: create open -> xdg-open shell alias #951

merged 1 commit into from
Feb 27, 2024

Conversation

p5
Copy link
Member

@p5 p5 commented Feb 26, 2024

Adds an alias for the MacOS folks so that open <file> opens that file in the default application. It means they don't need to know about xdg-open and have the massive terminal output from that command.

I put this in the regular image as I wouldn't really call it a developer feature, however happy to move it over to dx if you prefer.

I mostly use this when I'm in a terminal and want to open the file explorer to this specific directory, and when opening images / PDFs from a terminal

Sample usage:

$ open document.pdf
$ open .

@p5 p5 requested a review from castrojo as a code owner February 26, 2024 23:46
@castrojo castrojo enabled auto-merge February 26, 2024 23:50
@castrojo
Copy link
Member

If the rest pass except the one image please force merge. 🗡️

@bketelsen
Copy link
Member

nice!

@castrojo castrojo added this pull request to the merge queue Feb 27, 2024
Merged via the queue into main with commit 2f9f5ad Feb 27, 2024
30 checks passed
@castrojo castrojo deleted the xdg-open-alias branch February 27, 2024 00:43
awesomekyle pushed a commit to awesomekyle/bluefin that referenced this pull request Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants