warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
20.85k stars 355 forks source link

Terminal keeps focus when running "open chrome -a websitelink" on MacOS #1974

Open khkalli opened 1 year ago

khkalli commented 1 year ago

Discord username (optional)

kalotz#3159

Describe the bug

When I open warp with my hotkey binding, it opens in and is pinned at top of my active screen. I created in my .bash_profile this: "alias somecommand="/Users/me/script.sh" the script contains the line /usr/bin/open -a "/Applications/Google Chrome.app" somelink

The website opens but chrome is not being focused altough i am using -a parameter

To Reproduce

create a script.sh file that opens a website in chrome like above and create an alias that calls the script. type alias in terminal

Expected behaviour

typing the alias in terminal should open chrome and set focus to chrome window

Screenshots

No response

Operating System

MacOS

OS Version

BigSur 11.5.2

Shell Version

zsh 5.8 (x86_64-apple-darwin20.0)

Warp Version

v0.2022.10.11.08.13.stable_01

Additional context

No response

Does this block you from using Warp daily?

No

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

No response

elviskahoro commented 1 year ago

@khkalli Will circle back once someone looks at this but I'm not optimistic this will be "fixable". How does iTerm behave for you when running this same script from a Quake window?