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

Wrap profile into the execute() function #6

Open
loonies opened this issue Nov 5, 2017 · 0 comments
Open

Wrap profile into the execute() function #6

loonies opened this issue Nov 5, 2017 · 0 comments
Milestone

Comments

@loonies
Copy link
Owner

loonies commented Nov 5, 2017

Looks like the $workdir is not working at times i.e. it works on
initially created session, but doesn't work if session is detached and
reattached. Looks like the problem is that sourced profile variable
$workdir is not exported and available in the shell.

One solution that comes to my mind is to wrap plumbing code into an
execute() function and define variables before and outside of that
function, so the profile file is sourced every time, when creating
initial session and when reattaching to the session again.

@loonies loonies added this to the 0.4.0 milestone Nov 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant