Skip to content

Instantly share code, notes, and snippets.

@robertopc
Created June 26, 2024 14:31
Show Gist options
  • Save robertopc/cb1c5952cdaa47569b2f830aea1a78c0 to your computer and use it in GitHub Desktop.
Save robertopc/cb1c5952cdaa47569b2f830aea1a78c0 to your computer and use it in GitHub Desktop.
Turn "snap refresh" into "snap update"
snap() {
if [[ $@ == "update" ]]; then
command snap refresh
else
command snap "$@"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment