1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-01-16 23:37:55 +08:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Markus Hofbauer
bebd9ea59f
chore(brew): remove duplicated alias (#12192) 2024-02-03 10:18:33 +01:00
lutra
69b0dfeadf
fix(kubectx): k8s contexts with spaces (#12191) 2024-02-02 17:12:36 +01:00
2 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,6 @@ fi
alias bcubc='brew upgrade --cask && brew cleanup'
alias bcubo='brew update && brew outdated --cask'
alias bcubc='brew upgrade --cask && brew cleanup'
alias brewp='brew pin'
alias brewsp='brew list --pinned'
alias bubc='brew upgrade && brew cleanup'

View File

@ -9,5 +9,5 @@ function kubectx_prompt_info() {
# use value in associative array if it exists
# otherwise fall back to the context name
echo "${kubectx_mapping[$current_ctx]:-${current_ctx:gs/%/%%}}"
echo "${kubectx_mapping[\"$current_ctx\"]:-${current_ctx:gs/%/%%}}"
}