Skip to content

Conversation

@ilyagr
Copy link
Contributor

@ilyagr ilyagr commented Mar 4, 2021

I don't know if the default of builtin cd is a good one, as opposed to a simple cd. It took me quite a bit of debugging before I figured out why, on my fish shell, changing directories with z.lua messed up the cdh (cd history) command. (On fish, cd is a function by default. It records the current directory in the history and then calls builtin cd).

I think the best thing would be to change the default. However, if you have a good reason to stick with it, I thought that documenting this potentially unexpected behavior might help.

Thank you, I really like using z.lua!

I don't know if the default of `builtin cd` is a good one, as opposed to simple `cd`. It took me quite a bit of debugging before I figured out why, on my `fish` shell, changing directories with `z.lua` messed up the `cdh` (cd history) command.

I think the best thing would be to change the default. However, if you have a good reason to stick with it, I thought that documenting this potentially unexpected behavior might help.
@skywind3000 skywind3000 merged commit 44a2489 into skywind3000:master Mar 4, 2021
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