A way to avoid zi alias? #312
-
I have starting using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Ah thanks for reporting this edge case, but you can (pretty sure 😆) overcome this in a few ways. However, to gain a bit more context, can you share how you currently load Zoxide? I don't use it personally. Here are three possible solutions that I'd suggest. 1.Use 2.When calling --cmd Changes the prefix of the E.g., --cmd j would change the commands to ( --cmd cd would replace the So you'd just need to choose different shortcut. 3.I haven't tested this, but 99% sure adding the following ice would work given how zinit loads plugins. atload'unalias zi' And if the doesn’t work, try atinit'unalias zi' Please let me know if you need anything else (i.e., clarification, solutions don't work, etc.). :^) |
Beta Was this translation helpful? Give feedback.
-
For me |
Beta Was this translation helpful? Give feedback.
Ah thanks for reporting this edge case, but you can (pretty sure 😆) overcome this in a few ways.
However, to gain a bit more context, can you share how you currently load Zoxide? I don't use it personally.
Here are three possible solutions that I'd suggest.
1.
Use
z
instead ofzi
, no changes needed to how you load Zoxide.2.
When calling
zoxide init
, the following flag is available:Changes the prefix of the
z
andzi
commands.E.g.,
would change the commands to (
j
,ji
)--cmd cd
would replace the
cd
commandSo you'd just need to choose different shortcut.
3.
I haven't tested this, but 99% sure adding the following ice would work given how zinit loads plugins.
atload'unalias zi'