This is in my
alias p='sudo apt-get'; complete -F _apt_get p
I've found the autocompletion only works if I've used autocompletion for
apt-get at least once before trying to use it with the
Why is that?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community