Tab auto-completion removes quotes from variables even when it shouldn't

2021-06-25 Thread Pedro Gimeno
Bash Version: 4.4 Patch Level: 12 Release Status: release Tested also in the last version from this unofficial mirror: https://github.com/bminor/bash so I guess it's still a problem. Tab auto-completion removes quotes from variables even when it shouldn't. Test case: $ mkdir 'a b' $ touch 'a b

Problem with list of aliases

2017-03-14 Thread Pedro Gimeno
When using the 'alias' command without parameters, or with the '-p' parameter, a list of aliases is displayed. This list has the form: alias name='value' 'help alias' states that this form is 'reusable', thus implying, if I understand it correctly, that it can be fed back to bash. But that's

Re: Sourcing a file ending in \ disables aliases for 1 command

2015-04-03 Thread Pedro Gimeno
John McKown wrote, On 2015-04-03 14:19: > Note that testbug.sh does end in a LF, at least if I did it correctly. I've noticed that actually the LF is not important, only the final backslash is: $ alias hi=echo\ hello Without final LF: $ echo -n true\\ > testbug.sh $ . testbug.sh $ hi bash: hi:

Sourcing a file ending in \ disables aliases for 1 command

2015-04-03 Thread Pedro Gimeno
Bash Version: 4.2 Patch Level: 37 Release Status: release Description: If a file with a command that ends in \ is sourced, the next command issued in the command line does not interpret aliases but subsequent ones do. It's a minor issue easy to work around, but since it's surprising behavi

Sourcing a file ending in \ disables aliases for 1 command

2015-04-03 Thread Pedro Gimeno
Bash Version: 4.2 Patch Level: 37 Release Status: release Description: If a file with a command that ends in \ is sourced, the next command issued in the command line does not interpret aliases but subsequent ones do. It's a minor issue easy to work around, but since it's surprising behavi