skywind3000 / z.lua

:zap: A new cd command that helps you navigate faster by learning your habits.
MIT License
2.98k stars 140 forks source link

[WIP] cmd: don't ignore _ZL_CD and allow relative paths #149

Closed phanirithvij closed 2 years ago

phanirithvij commented 2 years ago
skywind3000 commented 2 years ago

Thanks, I have ported the %_ZL_CD% code in your PR to the latest z.lua: https://github.com/skywind3000/z.lua/commit/3c88f8d8fa8782bf9ee47eb3a5b86e8820e247e2

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 commented 2 years ago

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