Closed Prophecy67 closed 9 months ago
The fish-shell autocompletion works marvelously, though there is one slight annoyance and a rather easy fix.
The file /home/$USER/.config/fish/completions/awsume.fish contains the following:
/home/$USER/.config/fish/completions/awsume.fish
#Auto-Complete function for AWSume complete --command awsume --arguments '(awsume-autocomplete)'
This however also means that when you use tab completion, you'll also include the CWD's files. Naturally, you cannot awsume to the files 😁
An easy fix would be to add the -f argument, not allowing files:
-f
As per:
-f or --no-files says that this completion may not be followed by a filename.
Source:
https://fishshell.com/docs/current/cmds/complete.html
closed by https://github.com/trek10inc/awsume/pull/174
The fish-shell autocompletion works marvelously, though there is one slight annoyance and a rather easy fix.
The file
/home/$USER/.config/fish/completions/awsume.fish
contains the following:This however also means that when you use tab completion, you'll also include the CWD's files. Naturally, you cannot awsume to the files 😁
An easy fix would be to add the
-f
argument, not allowing files:As per:
-f or --no-files says that this completion may not be followed by a filename.
Source:
https://fishshell.com/docs/current/cmds/complete.html