dotfiles/.config/fish/functions/drop.fish

6 lines
216 B
Fish
Raw Normal View History

function drop
/usr/bin/sudo /usr/bin/parted /dev/sda --script -- mklabel msdos
/usr/bin/sudo /usr/bin/parted /dev/sda --script -- mkpart primary fat32 1MiB 100%
/usr/bin/sudo /usr/bin/mkfs.vfat -F32 /dev/sda1
end