Skip to content

Instantly share code, notes, and snippets.

@fl0at
fl0at / Bash-completion Debian Squeeze backport.md
Last active December 10, 2015 22:49
Bash-completion has errors on Debian Squeeze, and while they've been fixed, it'll be forever until we get it officially backported.

Tilde expansion

Bash-completion has errors on Debian Squeeze, and while they've been fixed, it'll be forever until we get it officially backported. (See http://ask.debian.net/questions/why-did-bash-compleation-expand_tilde-stoped-working-in-squeeze)

I have taken the liberty of using the commit where it was fixed, and making a simple patchfile. (See http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commit;h=ccbf141e13eaa98d6a8721ae015a5504654424cb)

Save this gist to a file, and apply using the following: