jeremyramin / terminal-plus

A terminal package for Atom, complete with themes and more.
https://atom.io/packages/terminal-plus
MIT License
481 stars 254 forks source link

terminal automatically closing #2

Closed daenney closed 9 years ago

daenney commented 9 years ago

When I try to open up the terminal the pane slides open, something is printed and then slides shut again. I can't see what exactly but I expect some kind of error.

jeremyramin commented 9 years ago

@daenney I think I know what could be wrong. If you don't mind me asking,

  1. What system are you on? (OS X, Windows, Linux)
  2. What is your standard terminal? (bash, cmd.exe, powershell, sh, zsh)
miguelcarax commented 9 years ago

I have the same issue, ArchLinux and I'm using zsh.

jeremyramin commented 9 years ago

@miguelcarax Is that your default shell? Or did you override it in the settings?

miguelcarax commented 9 years ago

Bash it's default, but i'm using zsh out of atom

Edit: default is /bin/zsh

jeremyramin commented 9 years ago

Interesting. It is picking up on the correct shell yet it is having trouble launching it. In the next 20 minutes I'll release an update. Let's see if it fixes the issue.

miguelcarax commented 9 years ago

Nice! I'll notice if it's fixed :) thx

jeremyramin commented 9 years ago

@miguelcarax The next update won't fix the issue, but it will leave the terminal open after the issue. If you could copy and paste the output here so I can see it, that would be very helpful.

daenney commented 9 years ago

In my case it's OS X 10.11 with Fish 2.2 as my default shell.

jeremyramin commented 9 years ago

@daenney If you could tell me what happens now with the latest update, that would be very helpful.

daenney commented 9 years ago

This is what I get:

cd /Users/daenney/Development/spotify/puppet/modules/hostbase/manifests; clear; pwd
login: -fish: No such file or directory

Or, from another location:

login: -fish: No such file or directory
cd /Users/daenney; clear; pwd
jeremyramin commented 9 years ago

@daenney Thanks. I posted an update. Let me know if this fixes your issue.

daenney commented 9 years ago

Yap, aces! :100:

Grawl commented 8 years ago

Just got exactly this problem running a terminal pane with “Shell Override” option set to just fish: execvp(3) failed.: No such file or directory

It was strange because I not got this error yesterday. Set it to /usr/local/bin/fish as in my OS X Terminal.app options and it works great.

Maybe you will add more human-understandable error on this exception? Like “Shell Override is set to missing binary, please change this option (try to copy this from your other terminal settings that you already set up).” or something similar.

jeremyramin commented 8 years ago

Just putting fish should work unless /usr/local/bin is not located in your PATH environment variable. The error you see is provided by a dependency of Terminal-Plus but you are right. The errors should be more understandable. I will look into getting that fixed.

Grawl commented 8 years ago

If I wrote just fish into Terminal.app, it launches. So /usr/local/bin is located into PATH.