1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 09:33:42 +08:00

feat(span): Introducing Snapcraft CLI plugin (#9357)

This commit is contained in:
Kapil Pau 2023-10-13 23:11:47 +01:00 committed by GitHub
parent 8d9c9b6174
commit 48a62a9f71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 0 deletions

18
plugins/snap/README.md Normal file
View File

@ -0,0 +1,18 @@
# snap plugin
This plugin sets up aliases for the common [snap](https://snapcraft.io/docs/getting-started) commands
## Aliases
| Alias | Full command |
| --- | ---|
| sv | snap version |
| sf | snap find |
| si | snap install |
| sin | snap info |
| sr | snap remove |
| sref | snap refresh |
| srev | snap revert |
| sl | snap list |
| sd | snap disable |
| se | snap enable |

View File

@ -0,0 +1,10 @@
alias sv="snap version"
alias sf="snap find"
alias si="snap install"
alias sin="snap info"
alias sr="snap remove"
alias sref="snap refresh"
alias srev="snap revert"
alias sl="snap list"
alias sd="snap disable"
alias se="snap enable"