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

Add username@hostname #7

Closed
adrianbj opened this issue Mar 15, 2019 · 6 comments
Closed

Add username@hostname #7

adrianbj opened this issue Mar 15, 2019 · 6 comments

Comments

@adrianbj
Copy link

adrianbj commented Mar 15, 2019

@flozz - what do you think about implementing this:

image

That screenshot shows how it looks using https://github.com/Arrexel/phpbash

If you're interested, I could put together a PR.

@flozz
Copy link
Owner

flozz commented Feb 2, 2021

Please do, but it should work on windows too ;)

@ghost-ng
Copy link

ghost-ng commented Feb 9, 2022

Please do! if on windows, it should just be "whoami" intsead of "whoami"@"hostname"

@cli-ish
Copy link

cli-ish commented May 10, 2023

I would try to implement this feature, but I have a few questions before I start:

Is this just a one-time read of the current user/group?
Or does this information need to be passed every time the user executes a command?

@flozz
Copy link
Owner

flozz commented May 11, 2023

I think this can be query once when the page is loaded. It is very unlikely that the information change during the use of the terminal. I just do not know if it is very useful as most of the time the user will be www-data on Linux. :)

@cli-ish
Copy link

cli-ish commented May 11, 2023

Then I'll create a PR about it, even if it's just a small feature, it's a nice gimmick.

@flozz
Copy link
Owner

flozz commented May 22, 2023

Implemented in v2023.05.22 :)

@flozz flozz closed this as completed May 22, 2023
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

4 participants