You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contrib/README.rst
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,14 @@ or create new completion file, e.g::
16
16
17
17
register-python-argcomplete --shell fish my-awesome-script > ~/.config/fish/completions/my-awesome-script.fish
18
18
19
+
If the script is called using a path, such as ``./my-awesome-script``, it must be registered using the absolute path to the script.::
20
+
21
+
register-python-argcomplete --shell fish $(realpath ./my-awesome-script) > ~/.config/fish/completions/my-awesome-script.fish
22
+
23
+
The completions using a path will not be automatically loaded since the command name does not match the file name. To load the completetions, ``source`` them.::
0 commit comments