mirror of
https://github.com/ahmetb/kubectx.git
synced 2025-06-26 07:23:25 +00:00
Use * to indicate current context & current namespace
This commit is contained in:
parent
e9fbafc923
commit
dad48e5397
2
kubectx
2
kubectx
@ -60,7 +60,7 @@ list_contexts() {
|
||||
|
||||
for c in $(get_contexts); do
|
||||
if [[ -t 1 && "${c}" = "${cur}" ]]; then
|
||||
echo "${darkbg}${yellow}${c}${normal}"
|
||||
echo "* ${darkbg}${yellow}${c}${normal}"
|
||||
else
|
||||
echo "${c}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user