mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 22:58:46 +00:00
6 lines
304 B
Fish
6 lines
304 B
Fish
|
# Like for running machines, I'm assuming machinectl doesn't allow spaces in image names
|
||
|
# This does not include the special image ".host" since it isn't valid for most operations
|
||
|
function __fish_systemd_machine_images
|
||
|
machinectl --no-legend --no-pager list-images | while read -l a b; echo $a; end
|
||
|
end
|