Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(bash-completion): prevent space after profile completion
.
When tab completing a profile, an unwanted space is added after the period `.`, necessitating hitting backspace before further completions can be accessed. The implementation here was based on the following resources: * https://stackoverflow.com/a/66151065 - Add spaces to the end of some Bash autocomplete options, but not to others? * https://stackoverflow.com/a/19271994 - How can I check the last character in a string in bash? An alternative to checking for the last character is using regex: * https://stackoverflow.com/a/21425089 - How to check if the last string character equals '*' in Bash?
- Loading branch information