Gabriel F. T. Gomes
Gabriel F. T. Gomes
In [_quote_readline_by_ref](https://github.com/scop/bash-completion/blob/6fad7d8f411e734004a4f9b893dd32c266ed156f/bash_completion#L533), unset variables get escaped, whereas set variables don't, for instance: ``` less /var/log/$@/ less /var/log/\$@/ less /var/log/$PWD/ less /var/log/$PWD/ ``` Originally reported at https://bugs.debian.org/922657
The argument to find's -path option is supposed to restrict the search results to items that belong to the specified directory, so let bash-completion suggest directories to it. Reported by...
The patch message describes the problem that I want to fix... However, the fix, as I implemented it, causes a regression in the unit test for the `_variables` function. Before...
Description in the commit message
In test/t/unit/test_unit_command_offset.py, if the first item in test2 is not executed, for example with the following diff: ``` @@ -55,7 +55,6 @@ class TestUnitCommandOffset: @pytest.mark.parametrize( "cmd,expected_completion", [ - ("cmd2", wordlist),...