Skip to content

Conversation

phanirithvij
Copy link

@phanirithvij phanirithvij commented Jan 29, 2022

  • _ZL_CD is not being used for cmd script pushd not used in input #100 (comment)
  • relative paths like z .. z ..\.. z scripts/subfolder does nothing as of now, resolved the absolute paths after calling z.lua in this PR

@phanirithvij phanirithvij marked this pull request as draft January 29, 2022 11:53
@phanirithvij phanirithvij changed the title cmd: don't ignore _ZL_CD and allow relative paths [WIP] cmd: don't ignore _ZL_CD and allow relative paths Jan 29, 2022
@skywind3000
Copy link
Owner

skywind3000 commented Jan 30, 2022

Thanks, I have ported the %_ZL_CD% code in your PR to the latest z.lua: 3c88f8d

However, the relative paths supporting would be implementated in the z.lua file, not z.cmd. So, that every shell can use this feature.

@phanirithvij
Copy link
Author

Ok, got it.
The help message on the readme shows relative paths so I assumed it wasn't working only in cmd.

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

Successfully merging this pull request may close these issues.

2 participants