Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit 15a3378

Browse files
committed
Fix typo in fish completion generation
1 parent 803ccdc commit 15a3378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fargo/Fargo.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ Register-ArgumentCompleter -Native -CommandName %s -ScriptBlock {
682682
function __%s_completion
683683
set -l count (commandline -pC)
684684
set -l cmd (commandline -opc)
685-
%s complete --position (math $count - (string length $cmd[1])) - 1 "$cmd[2..]"
685+
%s complete --position (math $count - (string length $cmd[1]) - 1) "$cmd[2..]"
686686
end
687687
complete -f -c %s -a '(__%s_completion)'
688688
""" appName appName appName appName

0 commit comments

Comments
 (0)