bash-completion: source from bashrc, not profile
This commit is contained in:
parent
5c707b4eff
commit
9988baedf3
1 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'bash-completion'
|
||||
pkgname=bash-completion
|
||||
version=2.1
|
||||
revision=5
|
||||
revision=6
|
||||
noarch="yes"
|
||||
build_style=gnu-configure
|
||||
makedepends="bash"
|
||||
|
@ -21,4 +21,7 @@ post_install() {
|
|||
done
|
||||
# remove nmcli provided by NetworkManager.
|
||||
rm -f ${DESTDIR}/usr/share/bash-completion/completions/nmcli
|
||||
# move to bashrc.d to work after su
|
||||
vmkdir /etc/bash/bashrc.d/
|
||||
mv ${DESTDIR}/etc/profile.d/bash_completion.sh ${DESTDIR}/etc/bash/bashrc.d/bash_completion.sh
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue