Skip to content

Commit 626dc2b

Browse files
authored
Update ps1.bash
1 parent 1c89fed commit 626dc2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bash/ps1.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function _ps1_nonzero_return() {
4444

4545
KUBE_PS1_SYMBOL_IMG=$'\xE2\x98\xB8 '
4646
function _ps1_kubectl() {
47-
KUBECTL_CURRENT_CONTENT=$(kubectl config view | grep current-context | sed -e "s|current-context: ||g" | tr -cd '[:alnum:]._-')
47+
echo $(kubectl config view | grep current-context | sed -e "s|current-context: ||g" | tr -cd '[:alnum:]._-')
4848
}
4949

5050

0 commit comments

Comments
 (0)