0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-12 04:01:14 +02:00

Add chezmoi plugin with custom aliases

This commit is contained in:
iBhokary 2024-02-26 11:09:17 -03:00
parent fcab8f1611
commit aa56932d76
2 changed files with 105 additions and 0 deletions

62
plugins/chezmoi/README.md Normal file
View file

@ -0,0 +1,62 @@
# Chezmoi Plugin for Oh My Zsh
## Introduction
The `chezmoi plugin` adds shortened aliases for common chezmoi commands to Oh My Zsh.
To use it, add `chezmoi` to the plugins array of your zshrc file:
```bash
plugins=(... chezmoi)
```
## Aliases
| Command | Description |
|:---------------------|:-------------------------------------------|
| `chezadd` | Alias for chezmoi add |
| `chezage` | Alias for chezmoi age |
| `chezapp` | Alias for chezmoi apply |
| `chezarch` | Alias for chezmoi archive |
| `chezcat` | Alias for chezmoi cat |
| `chezcatcfg` | Alias for chezmoi catconfig |
| `chezcd` | Alias for chezmoi cd |
| `chezchattr` | Alias for chezmoi chattr |
| `chezcomp` | Alias for chezmoi completion |
| `chezdata` | Alias for chezmoi data |
| `chezdiff` | Alias for chezmoi diff |
| `chezdoc` | Alias for chezmoi doctor |
| `chezdump` | Alias for chezmoi dump |
| `chezdumpcfg` | Alias for chezmoi dumpconfig |
| `chezedit` | Alias for chezmoi edit |
| `chezeditcfg` | Alias for chezmoi editconfig |
| `chezeditcfgtmp` | Alias for chezmoi editconfigtemplate |
| `chezencrypt` | Alias for chezmoi encrypt |
| `chezexectmpl` | Alias for chezmoi executetemplate |
| `chezforget` | Alias for chezmoi forget |
| `chezgen` | Alias for chezmoi generate |
| `chezgit` | Alias for chezmoi git |
| `chezhelp` | Alias for chezmoi help |
| `chezignored` | Alias for chezmoi ignored |
| `chezimport` | Alias for chezmoi import |
| `chezinit` | Alias for chezmoi init |
| `chezlic` | Alias for chezmoi license |
| `chezmanaged` | Alias for chezmoi managed |
| `chezmerge` | Alias for chezmoi merge |
| `chezmergeall` | Alias for chezmoi mergeall |
| `chezpurge` | Alias for chezmoi purge |
| `chezreadd` | Alias for chezmoi readd |
| `chezrm` | Alias for chezmoi remove |
| `chezsecret` | Alias for chezmoi secret |
| `chezsrcpath` | Alias for chezmoi sourcepath |
| `chezstate` | Alias for chezmoi state |
| `chezst` | Alias for chezmoi status |
| `cheztgtpath` | Alias for chezmoi targetpath |
| `chezunmanaged` | Alias for chezmoi unmanaged |
| `chezup` | Alias for chezmoi update |
| `chezvrfy` | Alias for chezmoi verify |
## Maintainer
### [iBhokary-dev](https://github.com/iBhokary-dev)

View file

@ -0,0 +1,43 @@
# chezmoi plugin aliases
alias chezadd='chezmoi add'
alias chezage='chezmoi age'
alias chezapp='chezmoi apply'
alias chezarch='chezmoi archive'
alias chezcat='chezmoi cat'
alias chezcatcfg='chezmoi cat-config'
alias chezcd='chezmoi cd'
alias chezchattr='chezmoi chattr'
alias chezcomp='chezmoi completion'
alias chezdata='chezmoi data'
alias chezdecrypt='chezmoi decrypt'
alias chezdiff='chezmoi diff'
alias chezdoc='chezmoi doctor'
alias chezdump='chezmoi dump'
alias chezdumpcfg='chezmoi dump-config'
alias chezedit='chezmoi edit'
alias chezeditcfg='chezmoi edit-config'
alias chezeditcfgtmp='chezmoi edit-config-template'
alias chezencrypt='chezmoi encrypt'
alias chezexectmpl='chezmoi execute-template'
alias chezforget='chezmoi forget'
alias chezgen='chezmoi generate'
alias chezgit='chezmoi git'
alias chezhlp='chezmoi help'
alias chezignored='chezmoi ignored'
alias chezimport='chezmoi import'
alias chezinit='chezmoi init'
alias chezlic='chezmoi license'
alias chezmanaged='chezmoi managed'
alias chezmerge='chezmoi merge'
alias chezmergeall='chezmoi merge-all'
alias chezpurge='chezmoi purge'
alias chezreadd='chezmoi re-add'
alias chezrm='chezmoi remove'
alias chezsec='chezmoi secret'
alias chezsrcpath='chezmoi source-path'
alias chezstate='chezmoi state'
alias chezst='chezmoi status'
alias cheztgtpath='chezmoi target-path'
alias chezunmanaged='chezmoi unmanaged'
alias chezup='chezmoi update'
alias chezvrfy='chezmoi verify'