Comments (4)
+1 on this
Completions do not work for me neither in fish nor bash. I see that zoxide init fish
outputs among others __zoxide_z_complete
, so I guess it should work?..
Update:
Ok, I figured that out in my case.
So, the way z
autocompletes is that by default it uses normal cd
completions.
"Smart" completions are only enabled if two conditions are met:
- You entered your "guess" and a space after it
- Your guess has at least one candidate. If that is not true,
z
reports an error and that looks a bit weird in the terminal.
from zoxide.
I think the autocompletion works, but not in the way cd autocompletion does, which is not compatible with my brain 😞
for now I replaced the configured zoxide autocompletion with the one found in __fish_complete_cd
: (note that use zoxide through fisher)
# replace zoxide autocompletion with the default one for cd as it does not meet my expectations right now
complete -e $zoxide_cmd
complete -c $zoxide_cmd -a '(__fish_complete_cd)'
from zoxide.
same for me. this has been driving me crazy for months.
from zoxide.
same for me on bash.
from zoxide.
Related Issues (20)
- Feature request: "z . some keywords" to find matches in current directory HOT 2
- New Command Idea: Env
- Zoxide "zi" hangs when mount point is in list (/mnt) that's unavailable HOT 1
- Provide a way to configure where a bare `z` command goes HOT 1
- Feature Request: Automatic Backup and Recovery for db.zo HOT 6
- Zoxide's init-script generated for nu-shell fails with error upon sourcing HOT 4
- __zoxide_cd:cd:2: no such file or directory: world! HOT 4
- Installation using shell script is not working in macOS HOT 1
- aarch64-linux-android not packaged HOT 1
- Feature request: Add directory history support HOT 2
- Feature request: Allow manually specifying high priority paths. HOT 2
- zoxide doesn't go to the previous directory HOT 9
- variant of z/zi but only return the found path without changing directories HOT 1
- Partial match high priority nested path over exact direct descendent (edge-case) HOT 5
- zoxide: no match found
- Error: zoxide has not yet been packaged for your architecture HOT 3
- Directory Color Issues in Interactive Mode HOT 2
- .zoxide.nu method breaks with the latest 0.94.0 release HOT 3
- Nushell failure on `z` for keyword not under $env.PWD HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zoxide.