🐛 fix(fish): upall function now searches for topgrade if missing
This commit is contained in:
parent
7677bd930f
commit
febc62df36
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue