Skip to content

Commit

Permalink
easier access to winget.exe update
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebman committed Jan 18, 2025
1 parent 1f7c667 commit f61b0d8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions plugins/available/jake-implicit-commands.plugin.bash
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ function diff {
fi
}

function winget.exe {
about "allow a bare winget.exe to list updates"
if [[ "$#" -eq 0 ]]; then
command winget.exe update "$@"
else
command winget.exe "$@"
fi
}


function stat {
about "allow you to type the bare word 'stat' and get an automatic (implicit-git) status, while not harming the stat command"
if [[ "$#" -eq 0 ]]; then
Expand Down

0 comments on commit f61b0d8

Please sign in to comment.