Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function ocsh() {
- local pods pod
- pods=$(oc get pods | cut -d' ' -f 1 | sed '1d' | grep -v '\-build' | grep -v '\-deploy') &&
- pod=$(echo "$pods" | fzf +m) &&
- oc rsh $(echo "$pod")
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement