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

Net::SSH::Session env method return shell's prompt #4

Open
94d90b08-c4ef-416c-bf7b-b6c5b7275e6a opened this issue Jun 7, 2017 · 0 comments

Comments

@94d90b08-c4ef-416c-bf7b-b6c5b7275e6a

Code: session.env 'USER'
Output: "\e]0;user@host:~\auser"
Expected: user
gem Version: 0.1.6

First time i get environment variable fine. I see user name as expected.
But second call .env function return PS1 inside answer like in Output above.

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

No branches or pull requests

1 participant