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

cwd is dest dir for cd commands #1

Closed
nickbradley opened this issue Jul 10, 2019 · 0 comments
Closed

cwd is dest dir for cd commands #1

nickbradley opened this issue Jul 10, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nickbradley
Copy link
Owner

For commands that change the directory, the tracker records the destination directory instead of the directory from which the command was issued. The problem is here:

local cwd=$(pwd)

A fix could be store the pwd value in an env var before running the command.

@nickbradley nickbradley added the bug Something isn't working label Jul 10, 2019
@nickbradley nickbradley self-assigned this Jul 10, 2019
nickbradley added a commit that referenced this issue Jul 16, 2019
Fix #1 using the bash /Users/ncbrad/do/aw-watcher-shell env var
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant