diff --git a/share/completions/path.fish b/share/completions/path.fish index a3810208c..79ea5ebbc 100644 --- a/share/completions/path.fish +++ b/share/completions/path.fish @@ -25,6 +25,7 @@ complete -f -c path -n "test (count (commandline -opc)) -ge 2; and contains -- ( complete -f -c path -n "test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] sort" \ -l key -x -a 'basename\t"Sort only by basename" dirname\t"Sort only by dirname" path\t"Sort by full path"' complete -f -c path -n "test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] sort" -s u -l unique -d 'Only leave the first of each run with the same key' +complete -f -c path -n "test (count (commandline -opc)) -ge 2; and contains -- (commandline -opc)[2] sort" -s r -l reverse -d 'Reverse the order' # Turn on file completions again. # match takes a glob as first arg, expand takes only globs.