mirror of
https://github.com/Llewellynvdm/zoxide.git
synced 2024-11-25 05:57:34 +00:00
Use long arguments for commands in Fish shell
This commit is contained in:
parent
d106f4e358
commit
027d259c89
@ -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 New Issue
Block a user