Skip to content
Permalink
Browse files

Fix README for consistency

  • Loading branch information...
jonmosco committed Dec 12, 2017
1 parent 9078224 commit 76dc4ade9226c655825effcceb9230930db01de6
Showing with 5 additions and 4 deletions.
  1. +1 −0 .gitignore
  2. +2 −2 README.md
  3. +2 −2 kube-ps1.sh
@@ -0,0 +1 @@
.DS_Store
@@ -55,8 +55,8 @@ PROMPT='$(kube-ps1) '

Bash:
```
source path/kube-ps1.sh
PS1='[\u@\h \W$(kube-ps1)]\$ '
source path/kube_ps1.sh
PS1='[\u@\h \W$(kube_ps1)]\$ '
```

## Colors
@@ -59,8 +59,8 @@ kube_ps1_context_ns () {
local KUBE_BINARY="oc"
fi

KUBE_PS1_CLUSTER="$(${KUBE_BINARY} config view --minify --output 'jsonpath={..CurrentContext}')"
KUBE_PS1_NAMESPACE="$(${KUBE_BINARY} config view --minify --output 'jsonpath={..namespace}')"
KUBE_PS1_CLUSTER="$(${KUBE_BINARY} config view --minify --output 'jsonpath={..CurrentContext}')"
KUBE_PS1_NAMESPACE="$(${KUBE_BINARY} config view --minify --output 'jsonpath={..namespace}')"

}

0 comments on commit 76dc4ad

Please sign in to comment.
You can’t perform that action at this time.