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

Enable opening from Finder #102

Closed
ishaangandhi opened this issue Aug 6, 2021 · 21 comments
Closed

Enable opening from Finder #102

ishaangandhi opened this issue Aug 6, 2021 · 21 comments
Labels
Feature requests Feature Requests

Comments

@ishaangandhi
Copy link

Is your feature request related to a problem? Please describe.
I'm always frustrated when you have to navigate to a working directory.

Describe the solution you'd like
In iTerm2 or with the built in Terminal, an option shows up in system preferences to open a terminal tab at a specific folder from within Finder. It would be nice if Warp would support that.

image

@elviskahoro elviskahoro changed the title Enable opening from Finder Core: Enable opening from Finder Nov 7, 2021
@elviskahoro elviskahoro changed the title Core: Enable opening from Finder Enable opening from Finder Dec 7, 2021
@elviskahoro elviskahoro added the Mac label Dec 7, 2021
@elviskahoro
Copy link
Member

TermHere

From @alon357 via #347

Describe the solution you'd like?

I'm a Mac user and I'm using TermHere a basic extension to the finder that opens a terminal in a specific location.
https://hashbang.productions/apps/termhere/
Do you Support this tool I was not able to open wrap with it?
Do you have something similar to it?
Thanks

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

@jjmerri
Copy link

jjmerri commented Apr 18, 2022

Is there a workaround for this? Pretty key feature.

@justinhporter
Copy link

Having a command-line argument to specify a directory would make this easy to script.

@warpdotdev-devx
Copy link
Member

warpdotdev-devx commented Jun 21, 2022 via email

@its-all-waves
Copy link

its-all-waves commented Nov 22, 2022

Darn... The lack of this feature is an immediate deterrent for me, despite all the rest. Kinda discouraging as this has been an issue for over a year. I guess there are only 20 users who want this?

I have a key shortcut rigged to the "Open folder in iTerm" option. I find the folder, hit the keys, iTerm launches with the path of the selected folder. This is how I launch my console every time. I have quite deep folder structures, so cd-ing my way there sucks.

EDIT: Man this sounds kinda rude... I think I was in a hurry! Thanks for the reply and for spending your time turning this awesome idea into a reality! It is ABOUT DAMN TIME for the console to get an upgrade!

@dannyneira
Copy link
Member

Hi @its-all-waves , Sorry about this blocking you. Please +1 this request as it helps us gauge interest. We will post updates on this thread if this is being worked on.

@dannyneira
Copy link
Member

Comment from @Aivean on #2206

Ability to open the file using a specific app, selected from the Finder-like "Open with" menu.

@redouredou
Copy link

redouredou commented Nov 23, 2022

Hello guys !

If I understand the issue, you want to open Warp terminal at specific folder.

I found an article that explain how to do this with Vscode:
https://thehotcode.com/macos-open-with-vscode-finder/

You can use the same process for Warp, I did it and it works.

that solution avoid manipulating bash scripts

@Aivean
Copy link

Aivean commented Nov 23, 2022

Is there a workaround for this? Pretty key feature.

There is. You can open a new tab in the terminal (or reuse an existing tab), type cd and drag the directory you want to open from the Finder into the terminal:

warp-dir-cd

Alternatively you can play with Automator to create Services or Quick Actions menu entry that does what you want (it can receive the selected files as an argument).

Here is how a similar action "Copy path to clipboard" looks like:
image

@dalhaan
Copy link

dalhaan commented Nov 24, 2022

I was able to do it with Automator.

  1. Open Automator
  2. When prompted with "Choose a type for your document:", select "Quick Action"
  3. Set "Workflow receives current" to "folders" and "in" to "Finder"
  4. In the "Actions" sidebar, select "Utilities" then "Run Shell Script" and drag it into the "Drag actions or files here to build your workflow" space
  5. In "Run Shell Script", set "Pass input:" to "as arguments"
  6. Copy and paste open -a Warp.app $1 into the text box
  7. Save the Quick Action (File > Save) and give it a name like "Open folder with Warp"
  8. Now right click any folder in Finder then select your new Quick Action from the "Quick Actions" context submenu
  9. Profit

Open folder in Warp DEMO

@dannyneira
Copy link
Member

dannyneira commented Feb 17, 2023

Hey Folks! With the latest release of Warp, we've enabled opening a new tab or window from Finder. Also, as an alternative, you can drag a folder into the Warp input editor and quickly enter the path. See below:

CleanShot 2023-02-17 at 10 02 04

@vorporeal
Copy link

Going to close this out, now that it's launched, but please don't hesitate to leave a comment here if you encounter any issues!

@ramirezlab
Copy link

Hello,

I followed @redouredou recommendations by using this post -> https://thehotcode.com/macos-open-with-vscode-finder/

  1. With the Automator app I created a quick action (as the example for VSCode
  2. In Preferences, go to keyboard shortcuts and select "Services" on the left menu
  3. Activate the "New warp Window Here" and add your shortcut.
  4. Test It in Finder. Just use the shortcut and voalá!!!

Let me know if works

Best,

@zhalice2011
Copy link

The above methods are all too complicated. Is there a way like Go2shell(https://zipzapmac.com/Go2Shell), where I only need one operation to open the terminal from a folder?

image

@zhalice2011
Copy link

I used this open source program to solve my problem. https://github.com/Ji4n1ng/OpenInTerminal

image

@vorporeal
Copy link

@zhalice2011 If your goal is to open a new tab/window in Warp with a specific folder as the initial working directory, this is now supported without any additional tools - make sure you're running an up-to-date version of Warp, then right-click on a folder in Finder and select "New Warp Tab here" or "New Warp Window here"! (They might be under the "Services" submenu.)

@zhalice2011
Copy link

Yes, This is a natively supported method, it's just not as convenient. I just want to click the button once, forgive me, LoL

@Bryant-Yang
Copy link

Bryant-Yang commented Jun 19, 2023

I used this open source program to solve my problem. https://github.com/Ji4n1ng/OpenInTerminal

image

Do you have a forked version? The original source doesn‘t seem to support warp.

@Bryant-Yang
Copy link

I used this open source program to solve my problem. https://github.com/Ji4n1ng/OpenInTerminal
image

Do you have a forked version? The original source doesn‘t seem to support warp.

ok, found the custom option to easily support warp:
image

@jeannen
Copy link

jeannen commented Oct 28, 2023

Started using the app not long ago, but not being able to open a folder in terminal from a keyboard shortcut (like with mac terminal) is a no-go :/

Any plan to add it?

@Krishpkreame
Copy link

Krishpkreame commented Feb 19, 2024

New Automator app

Screenshot 2024-02-20 at 2 02 05 AM

Export the app and while holding CMD drag it into your finder toolbar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature requests Feature Requests
Projects
None yet
Development

No branches or pull requests