lxc: fix bash completions
This commit is contained in:
parent
2bbe28463a
commit
e5b473afe9
@ -67,6 +67,17 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapPythonPrograms
|
wrapPythonPrograms
|
||||||
|
|
||||||
|
completions=(
|
||||||
|
lxc-attach lxc-cgroup lxc-console lxc-destroy lxc-device lxc-execute
|
||||||
|
lxc-freeze lxc-info lxc-monitor lxc-snapshot lxc-stop lxc-unfreeze
|
||||||
|
)
|
||||||
|
pushd $out/share/bash-completion/completions/
|
||||||
|
mv lxc lxc-start
|
||||||
|
for completion in ''${completions[@]}; do
|
||||||
|
ln -sfn lxc-start $completion
|
||||||
|
done
|
||||||
|
popd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user