Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Workaround to disable tilde autocomplete in Bash on Debian GNU/Linux 6.0
# even when the readline variable expand-tilde is set to off ~ gets replaced with the users directory
# to fix this erroneous behaviour add this to the end of your .bashrc (or upgrade to wheezy)
# tilde expansion is not affected by this so the tilde will still get replaced upon execution
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment