bash-completion-Bugs item #313753, was opened at 2012-08-28 01:26 You can respond by visiting: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313753&group_id=100114
Status: Open Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: Tilde expansion doesn't always work for account name substrings Distribution: Debian Originally reported in: None Milestone: 1.1 Status: None Original bug number: Initial Comment: If there is a user 'foo' on the server, based on behavior without Bash Completion installed I would expect that typing "ls ~fo<TAB>" would complete that to "/home/foo/". Some more complicated commands do work as I'd expect. For example, "vi ~fo<TAB>" turns into "vi /home/foo/". But it doesn't seem to work on simpler commands like ls or mv. In those cases _expand_tilde_by_ref is being called, and I'd expect the following additional line in your "Example output" for that function to be handled: ~fo /home/foo/ It doesn't do that though. This code block executes in that case: # No, $1 doesn't contain slash eval $1="${!1}" But that doesn't fill in a partially typed account name. That seems to be a regression from bash without your package installed to me. ---------------------------------------------------------------------- You can respond by visiting: https://alioth.debian.org/tracker/?func=detail&atid=413095&aid=313753&group_id=100114 _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel