1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-02-13 05:59:46 +08:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Frederik Ring
872b5cd408
docs(kubectx): add quoting to array keys (#12216) 2024-02-14 12:14:08 +01:00
Raphael Boidol
f9bbf6047b
ci: bump actions/checkout version (#12210) 2024-02-13 17:32:44 +01:00
Carlo Sala
514d5736ea
ci: enable dependabot 2024-02-13 17:25:16 +01:00
4 changed files with 18 additions and 6 deletions

12
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: "weekly"
day: "sunday"
- package-ecosystem: "pip"
directory: "/.github/workflows/dependencies"
schedule:
interval: "weekly"
day: "sunday"

View File

@ -26,7 +26,7 @@ jobs:
- macos-latest - macos-latest
steps: steps:
- name: Set up git repository - name: Set up git repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Install zsh - name: Install zsh
if: runner.os == 'Linux' if: runner.os == 'Linux'
run: sudo apt-get update; sudo apt-get install zsh run: sudo apt-get update; sudo apt-get install zsh
@ -42,7 +42,7 @@ jobs:
- test - test
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Install Vercel CLI - name: Install Vercel CLI
run: npm install -g vercel run: npm install -g vercel
- name: Setup project and deploy - name: Setup project and deploy

View File

@ -24,7 +24,7 @@ jobs:
if: github.repository == 'ohmyzsh/ohmyzsh' if: github.repository == 'ohmyzsh/ohmyzsh'
steps: steps:
- name: Set up git repository - name: Set up git repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Install zsh - name: Install zsh
run: sudo apt-get update; sudo apt-get install zsh run: sudo apt-get update; sudo apt-get install zsh
- name: Check syntax - name: Check syntax

View File

@ -17,9 +17,9 @@ One can rename default context name for better readability.
_Example_. Add to **.zshrc**: _Example_. Add to **.zshrc**:
``` ```
kubectx_mapping[minikube]="mini" kubectx_mapping["minikube"]="mini"
kubectx_mapping[context_name_from_kubeconfig]="$emoji[wolf_face]" kubectx_mapping["context_name_from_kubeconfig"]="$emoji[wolf_face]"
kubectx_mapping[production_cluster]="%{$fg[yellow]%}prod!%{$reset_color%}" kubectx_mapping["production_cluster"]="%{$fg[yellow]%}prod!%{$reset_color%}"
``` ```
![staging](stage.png) ![staging](stage.png)