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

Set an environment variable with the session name/socket. #33

Closed
ccrusius opened this issue Apr 29, 2018 · 2 comments
Closed

Set an environment variable with the session name/socket. #33

ccrusius opened this issue Apr 29, 2018 · 2 comments

Comments

@ccrusius
Copy link

I use abduco without dvtm, and have on average four to five sessions going. It would be nice if I could see which session I'm currently in at the shell prompt. Currently, the best way I can think of is to hack around with ps and $PPID, but that is hard to make portable, and has me parsing an abduco CLI call.

The suggestion would be for abduco to automatically set, for example, an ABDUCO_SESSION and/or ABDUCO_SOCKET environment variable for each session.

@martanne
Copy link
Owner

Hi, please let me know whether 4c3e2c8 and c33ee37 work as expected?

@ccrusius
Copy link
Author

Tested and works great, thanks!

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

2 participants