mirror of
https://github.com/Hopiu/zoxide.git
synced 2026-05-15 10:43:11 +00:00
Use long arguments for commands in Fish shell
This commit is contained in:
parent
d106f4e358
commit
027d259c89
1 changed files with 2 additions and 2 deletions
|
|
@ -74,8 +74,8 @@ end
|
|||
|
||||
# Completions for `z`.
|
||||
function __zoxide_z_complete
|
||||
set -l tokens (commandline -op)
|
||||
set -l curr_tokens (commandline -cop)
|
||||
set -l tokens (commandline --current-process --tokenize)
|
||||
set -l curr_tokens (commandline --cut-at-cursor --current-process --tokenize)
|
||||
|
||||
if test (count $tokens) -le 2 -a (count $curr_tokens) -eq 1
|
||||
# If there are < 2 arguments, use `cd` completions.
|
||||
|
|
|
|||
Loading…
Reference in a new issue