flutter_ecommerce_app icon indicating copy to clipboard operation
flutter_ecommerce_app copied to clipboard

"cd to the existent path if there is no match:" doesn't work in fish shell

Open c02y opened this issue 6 years ago • 2 comments
trafficstars

fish v2.7.1 z.lua version: 5c2e0c6

There is one part in README.md “”“ cd to the existent path if there is no match:

Sometimes if you use:

z foo

And there is no matching result in the database, but there is an existent directory which can be accessed with the name "foo" from current directory, "z foo" will just work as:

cd foo “””

But it doesn't work as expected either with or without enabling "enhanced" mode, it will not cd into the a directory (not in the z.lua database) in the current path.

c02y avatar Feb 15 '19 03:02 c02y

sorry, I can't reproduce it, could you paste your z.lua related initial script here ?

skywind3000 avatar Feb 15 '19 06:02 skywind3000

source (lua ~/.config/fish/functions/z.lua --init fish once enhanced echo | psub) set -gx _ZL_CD cd

c02y avatar Feb 15 '19 08:02 c02y