Skip to content

cd - is messed up when running task #26

Description

@swalkerhppr

Running task messes up the OLDPWD value:

# Works
[btm-release proj]$ cd ~/OTHER
[btm-release OTHER]$ cd -
/home/btm-release/proj
[btm-release proj]$ cd -
/home/btm-release/OTHER

#Works
[btm-release OTHER]$ t goto proj
Running goto:proj task...
[btm-release proj]$ cd -
/home/btm-release/OTHER

# BROKEN
[btm-release proj]$ t list
Running list: task...
	      
[btm-release proj]$ cd -
/home/btm-release

I think this may be due to something in the task-runner. I think I need to just save the OLDPWD at the top and restore it at the bottom.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions