Created
June 26, 2024 14:31
-
-
Save robertopc/cb1c5952cdaa47569b2f830aea1a78c0 to your computer and use it in GitHub Desktop.
Turn "snap refresh" into "snap update"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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