Last active
August 29, 2015 13:56
-
-
Save stefanschmidt/8921476 to your computer and use it in GitHub Desktop.
Workaround to disable tilde autocomplete in Bash on Debian GNU/Linux 6.0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
__expand_tilde_by_ref() | |
{ | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment