Skip to content

Commit 82c569d

Browse files
fix(autocomplete): complete on fish subprocess (#693)
This fix will work after fish 3.1
1 parent 0a145b3 commit 82c569d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/namespaces/autocomplete/autocomplete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ var autocompleteScripts = map[string]autocompleteScript{
8383
CompleteFunc: `
8484
complete --erase --command scw;
8585
complete --command scw --no-files;
86-
complete --command scw --arguments '(scw autocomplete complete fish -- (commandline) (commandline --cursor) (commandline --current-token) (commandline --tokenize --cut-at-cursor))';
86+
complete --command scw --arguments '(scw autocomplete complete fish -- (commandline) (commandline --cursor) (commandline --current-token) (commandline --current-process --tokenize --cut-at-cursor))';
8787
`,
8888
CompleteScript: `eval (scw autocomplete script shell=fish)`,
8989
ShellConfigurationFile: map[string]string{

0 commit comments

Comments
 (0)