The Wayback Machine - https://web.archive.org/web/20201128150027/https://github.com/Bash-it/bash-it/issues/1454
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

OpenIndiana Hipster 2019.10: Bash-it shows up just fine in MATE terminal but not over SSH #1454

Closed
jdrch opened this issue Dec 2, 2019 · 4 comments

Comments

@jdrch
Copy link

@jdrch jdrch commented Dec 2, 2019

Bash version: 5.0.11(1)-release (x86_64-pc-solaris2.11)

Bash-it works in MATE terminal, but when I SSH into the OpenIndiana machine it doesn't. It shows up just fine over SSH for the other machines (Debian 10.2, Raspbian 10, Ubuntu 19.10) I have it installed on.

Is there a separate setting in Bash configs for SSH?

Any ideas? (r/Illumos discussion)

@nwinkler
Copy link
Member

@nwinkler nwinkler commented Dec 3, 2019

Thanks for opening this issue. The reddit discussion pretty much has all the analysis... The issue seems to be that for your OS, the respective file that Bash-it installs in isn't loaded for SSH sessions.

Possible solutions:

  • Source the respective file from your shell as described in the reddit thread, or
  • Update the Bash-it installer for this specific OS flavor to install into the correct file.

A third alternative would be to work with the OpenIndiana folks to figure out why they handle the Bash configuration files in a different way than other Linux flavors...

@jdrch
Copy link
Author

@jdrch jdrch commented Dec 3, 2019

work with the OpenIndiana folks

I emailed the discussion mailing list this morning.

Here's what the shell looks like in MATE:

Bash-it

And here's what it looks like over SSH:

MobaXTerm

Here's what happens when I su over SSH. Bash-it shows up as expected. But when I exit root, Bash-it is replaced by the vanilla Bash shell:

su

@jdrch
Copy link
Author

@jdrch jdrch commented Dec 3, 2019

@nwinkler I think I'm making some progress: the above may be happening because SSH is a login shell while the MATE terminal is a non-login shell, and in Unix both types of shells read from different sources.

@jdrch
Copy link
Author

@jdrch jdrch commented Dec 4, 2019

Since I've created an issue that gets to the root of this problem (see above), I'm closing this one.

@jdrch jdrch closed this Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.