mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 05:59:46 +08:00
Compare commits
3 Commits
8ef9abc962
...
da7ea13ba9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da7ea13ba9 | ||
|
|
a473c0cb4a | ||
|
|
5485d70df2 |
9
plugins/fluxcd/README.md
Normal file
9
plugins/fluxcd/README.md
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# FluxCD plugin
|
||||||
|
|
||||||
|
This plugin adds completion for [FluxCD](https://fluxcd.io), an open and extensible continuous delivery solution for Kubernetes. Powered by GitOps Toolkit.
|
||||||
|
|
||||||
|
To use it, add `fluxcd` to the plugins array in your zshrc file:
|
||||||
|
|
||||||
|
```zsh
|
||||||
|
plugins=(... fluxcd)
|
||||||
|
```
|
||||||
14
plugins/fluxcd/fluxcd.plugin.zsh
Normal file
14
plugins/fluxcd/fluxcd.plugin.zsh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Autocompletion for the FluxCD CLI (flux).
|
||||||
|
if (( ! $+commands[flux] )); then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If the completion file doesn't exist yet, we need to autoload it and
|
||||||
|
# bind it to `flux`. Otherwise, compinit will have already done that.
|
||||||
|
if [[ ! -f "$ZSH_CACHE_DIR/completions/_flux" ]]; then
|
||||||
|
typeset -g -A _comps
|
||||||
|
autoload -Uz _flux
|
||||||
|
_comps[flux]=_flux
|
||||||
|
fi
|
||||||
|
|
||||||
|
flux completion zsh >| "$ZSH_CACHE_DIR/completions/_flux" &|
|
||||||
10
plugins/mongo-atlas/README.md
Normal file
10
plugins/mongo-atlas/README.md
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# MongoDB Atlas plugin
|
||||||
|
|
||||||
|
This plugin adds completion for [Atlas](https://www.mongodb.com/docs/atlas/cli/stable/) a command line interface built specifically for
|
||||||
|
MongoDB Atlas.
|
||||||
|
|
||||||
|
To use it, add `mongo-atlas` to the plugins array in your zshrc file:
|
||||||
|
|
||||||
|
```zsh
|
||||||
|
plugins=(... mongo-atlas)
|
||||||
|
```
|
||||||
14
plugins/mongo-atlas/mongo-atlas.plugin.zsh
Normal file
14
plugins/mongo-atlas/mongo-atlas.plugin.zsh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# Autocompletion for the Mongo Atlas CLI (atlas).
|
||||||
|
if (( ! $+commands[atlas] )); then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If the completion file doesn't exist yet, we need to autoload it and
|
||||||
|
# bind it to `atlas`. Otherwise, compinit will have already done that.
|
||||||
|
if [[ ! -f "$ZSH_CACHE_DIR/completions/_atlas" ]]; then
|
||||||
|
typeset -g -A _comps
|
||||||
|
autoload -Uz _atlas
|
||||||
|
_comps[atlas]=_atlas
|
||||||
|
fi
|
||||||
|
|
||||||
|
atlas completion zsh >| "$ZSH_CACHE_DIR/completions/atlas" &|
|
||||||
@ -82,4 +82,4 @@ ZSH_THEME_GIT_TIME_SINCE_COMMIT_NEUTRAL="%{$fg[white]%}"
|
|||||||
# LS colors, made with https://geoff.greer.fm/lscolors/
|
# LS colors, made with https://geoff.greer.fm/lscolors/
|
||||||
export LSCOLORS="exfxcxdxbxegedabagacad"
|
export LSCOLORS="exfxcxdxbxegedabagacad"
|
||||||
export LS_COLORS='di=34;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:'
|
export LS_COLORS='di=34;40:ln=35;40:so=32;40:pi=33;40:ex=31;40:bd=34;46:cd=34;43:su=0;41:sg=0;46:tw=0;42:ow=0;43:'
|
||||||
export GREP_COLOR='1;33'
|
export GREP_COLORS='mt=1;33'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user