[Bash-completion-commits] ./current r1170: Don't expand ~foo to /home/foo/ (Closes: #489720)
David Paleino
d.paleino at gmail.com
Sat Sep 6 14:23:39 UTC 2008
------------------------------------------------------------
revno: 1170
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Sat 2008-09-06 16:23:39 +0200
message:
Don't expand ~foo to /home/foo/ (Closes: #489720)
modified:
bash_completion
debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion 2008-09-06 14:10:08 +0000
+++ b/bash_completion 2008-09-06 14:23:39 +0000
@@ -353,7 +353,9 @@
# expand ~username type directory specifications
if [[ "$cur" == \~*/* ]]; then
- eval cur=$cur
+ # Don't expand ~foo at /home/foo/. (See #489720)
+ #eval cur=$cur
+ return
elif [[ "$cur" == \~* ]]; then
cur=${cur#\~}
COMPREPLY=( $( compgen -P '~' -u $cur ) )
=== modified file 'debian/changelog'
--- a/debian/changelog 2008-09-06 14:19:56 +0000
+++ b/debian/changelog 2008-09-06 14:23:39 +0000
@@ -7,9 +7,10 @@
FIXME in source.
* Dump to /dev/null error message from look(1) with no arguments
(Closes: #495142)
+ * Don't expand ~foo to /home/foo/ (Closes: #489720)
* debian/links fixed (Closes: #494292)
- -- David Paleino <d.paleino at gmail.com> Sat, 06 Sep 2008 16:19:25 +0200
+ -- David Paleino <d.paleino at gmail.com> Sat, 06 Sep 2008 16:21:41 +0200
bash-completion (20080705) unstable; urgency=low
More information about the Bash-completion-commits
mailing list