Skip to content

cd - is messed up when running task #26

@swalkerhppr

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions