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
21.31k stars 371 forks source link

Nothing Outputs When Entering Commands #3800

Open 4rc0s opened 1 year ago

4rc0s commented 1 year ago

Discord username (optional)

No response

Describe the bug

Installed Warp. Type a command like ls and there's no output. Full screen applications like vim work, but any interactive CLI command shows nothing. Flummoxed.

To reproduce

  1. Install Warp
  2. Authenticate
  3. Type a command like ls

Expected behavior

You should see the output of the command. Like a terminal should. Seems fundamental.

Screenshots

image

Operating system

MacOS

Operating system and version

12.7.0

Shell Version

fish, version 3.6.1

Current Warp version

v0.2023.10.17.08.03.stable_01

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)

Yes, this I confirmed this only happens in Warp, not other terminals.

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

None

4rc0s commented 1 year ago

https://github.com/warpdotdev/Warp/assets/1699/452eb1a8-bd96-4365-b14b-0603a698e0f9

Screen recording.

dannyneira commented 1 year ago

Hi @4rc0s Sorry to hear about this, you may have other versions of fish installed or another shell set as default and Warp is trying to load that. I recommend you run which fish, then put the resulting binary into the Warp Settings > Features > Session > "Startup shell for new sessions" > Custom. Please see more in our docs as well as demo below https://docs.warp.dev/getting-started/using-warp-with-shells#using-fish-shell-with-warp

https://github.com/warpdotdev/Warp/assets/16809145/fd78930b-fc94-4da1-a060-7741286614e6

Hope this helps! Please let us know if the issue persists, or if we're okay to close this issue out.

4rc0s commented 1 year ago

Thanks for the quick reply. I set fish as you suggested with no luck. (The dropdown was also /usr/local/bin/fish but I also tried setting it manually).

Switching to zsh seems to work, but I lose my customizations etc.

4rc0s commented 1 year ago

Is it possible that the symlink is messing things up?

ls -l /usr/local/bin/fish
lrwxr-xr-x  1 foo  admin  29 Mar 26  2023 /usr/local/bin/fish -> ../Cellar/fish/3.6.1/bin/fish
rnpatel commented 11 months ago

I have the same issue - my default shell is fish, and nothing that outputs to stdout emits any output in Warp. Things that render to a curses-like display (bat, broot etc) display their output correctly. Manually setting the shell to fish didn't help either. zsh works as expected.

dannyneira commented 11 months ago

I wonder if it has to do with different versions of fish being installed, run which -a fish, there may be more than one result and the first item on the list is the one that will run when you use fish. In my case, I have the homebrew installed fish first so that is the one I'd set in Settings > Features > Session > "Startup shell for new sessions" > Custom. Hope this helps!

rnpatel commented 11 months ago

I only have one version of fish installed, the one from homebrew. The thing is, this was working before, it just suddenly stopped. What's puzzling is that Warp and fish are working as expected on another machine, so it's clearly something local.

AVapps commented 11 months ago

Same issue here with same config : MacOS 14.1.2, fish installed via Homebrew, only 1 fish version installed, startup shell setting forced to fish path. It used to work 2 months ago and then stopped...

rinchen commented 8 months ago

Adding in my voice as well. I have fish installed via brew. /opt/homebrew/bin/fish It is my default. I tried to specify it in features with the custom path but I have the same problem as everyone else. I get the MOTD but nothing entered on the command line works. Warp recognizes bash and zsh and both work when I specify those.