Last active
January 11, 2019 21:20
-
-
Save nochmu/18250ea4d76707a12c45c55d797fc39d to your computer and use it in GitHub Desktop.
Bash 4.2: Restore the path completion
This file contains hidden or 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
# /etc/bash_completion.d/disable | |
# Disables the new behaviorfor bash completion (>=4.2) | |
# | |
# $ ls $HOME/.bash<tab><tab> | |
# | |
# new behavior: | |
# $ ls \$HOME/.bash | |
# | |
# old behaivor: | |
# .bash_history .bash_logout .bash_profile .bashrc | |
complete -o default ls | |
complete -o default cd | |
complete -o default ln | |
complete -o default cp | |
complete -o default mv | |
complete -o default rm | |
complete -o default cat | |
complete -o default nano | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment