dotfiles/.config/fish/functions/missing_package.fish

12 lines
248 B
Fish

function missing_package
while true
read -l -P "$argv[1] not found. Do you want to install it? [y/N] " confirm
if test "$confirm" = y
i $argv
break
else
break
end
end
end