ps1: fix syntax error
This commit is contained in:
parent
9be7416959
commit
7fa34fea68
@ -81,6 +81,7 @@
|
||||
mj_ps1_extra() {
|
||||
if [[ $PWD =~ $HOME/dev ]]; then
|
||||
kubectl config view --minify -o jsonpath={.current-context}:{..namespace}
|
||||
fi
|
||||
}
|
||||
export PS1=$(echo "$PS1" | sed 's;\\n;$(mj_ps1_extra);')
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user