🐛 fix(fish): upall function now searches for topgrade if missing

This commit is contained in:
Sergio Laín 2024-10-03 09:58:55 +02:00
parent 7677bd930f
commit febc62df36
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150

View file

@ -1,7 +1,7 @@
function upall --wraps=topgrade --description 'alias upall=topgrade'
if type -f topgrade
topgrade $argv
if type -f topgrade &>/dev/null
topgrade -k $argv
else
echo "topgrade not found"
missing_package topgrade
end
end