Swithed from IlanCosman to plttn version of tide
This commit is contained in:
parent
0ed893ecd0
commit
292c618236
39 changed files with 693 additions and 201 deletions
99
.config/fish/functions/lxc.fish
Normal file
99
.config/fish/functions/lxc.fish
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
function lxc-attach --wraps=lxc-attach
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-attach $argv
|
||||
end
|
||||
|
||||
function lxc-autostart --wraps=lxc-autostart
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-autostart $argv
|
||||
end
|
||||
|
||||
function lxc-cgroup --wraps=lxc-cgroup
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-cgroup $argv
|
||||
end
|
||||
|
||||
function lxc-checkconfig --wraps=lxc-checkconfig
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-checkconfig $argv
|
||||
end
|
||||
|
||||
function lxc-checkpoint --wraps=lxc-checkpoint
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-checkpoint $argv
|
||||
end
|
||||
|
||||
function lxc-config --wraps=lxc-config
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-config $argv
|
||||
end
|
||||
|
||||
function lxc-console --wraps=lxc-console
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-console $argv
|
||||
end
|
||||
|
||||
function lxc-copy --wraps=lxc-copy
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-copy $argv
|
||||
end
|
||||
|
||||
function lxc-create --wraps=lxc-create
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-create $argv
|
||||
end
|
||||
|
||||
function lxc-destroy --wraps=lxc-destroy
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-destroy $argv
|
||||
end
|
||||
|
||||
function lxc-device --wraps=lxc-device
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-device $argv
|
||||
end
|
||||
|
||||
function lxc-execute --wraps=lxc-execute
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-execute $argv
|
||||
end
|
||||
|
||||
function lxc-freeze --wraps=lxc-freeze
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-freeze $argv
|
||||
end
|
||||
|
||||
function lxc-info --wraps=lxc-info
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-info $argv 2>/dev/null
|
||||
end
|
||||
|
||||
function lxc-ls --wraps=lxc-ls
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-ls $argv
|
||||
end
|
||||
|
||||
function lxc-monitor --wraps=lxc-monitor
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-monitor $argv
|
||||
end
|
||||
|
||||
function lxc-snapshot --wraps=lxc-snapshot
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-snapshot $argv
|
||||
end
|
||||
|
||||
function lxc-start --wraps=lxc-start
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-start $argv
|
||||
end
|
||||
|
||||
function lxc-stop --wraps=lxc-stop
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-stop $argv
|
||||
end
|
||||
|
||||
function lxc-top --wraps=lxc-top
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-top $argv
|
||||
end
|
||||
|
||||
function lxc-unfreeze --wraps=lxc-unfreeze
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-unfreeze $argv
|
||||
end
|
||||
|
||||
function lxc-unshare --wraps=lxc-unshare
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-unshare $argv
|
||||
end
|
||||
|
||||
function lxc-update-config --wraps=lxc-update-config
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-update-config $argv
|
||||
end
|
||||
|
||||
function lxc-usernsexec --wraps=lxc-usernsexec
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-usernsexec $argv
|
||||
end
|
||||
|
||||
function lxc-wait --wraps=lxc-wait
|
||||
systemd-run -q --unit=my-unit --user --scope -p "Delegate=yes" -- lxc-wait $argv
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue