Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added an additional alias to the switch command #799

Merged
merged 1 commit into from
Dec 25, 2023

Conversation

MaxAnderson95
Copy link
Contributor

Before I realized there was an existing alias of s for the kubecm switch command, I setup a function in my shell profile to create one called sw (I also shorten kubecm to kc):

function kc() {
  if [[ $@ == "sw" ]]; then
      command kubecm switch
  else
      command kubecm "$@"
  fi
}

This PR adds sw as a native alias in addition to s. My muscle memory prevents me from using kubecm s instead 😆

@the-label-bot the-label-bot bot added the kind/feature ategorizes issue or PR as related to a new feature. label Nov 8, 2023
Copy link

the-label-bot bot commented Nov 8, 2023

The Label Bot has predicted the following:

Category Value Confidence Applied Label
Kind feature 0.942 ✔️
Size XS 0.997 ✔️

@the-label-bot the-label-bot bot added the size/XS size/XS label Nov 8, 2023
Copy link
Owner

@sunny0826 sunny0826 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 LGTM, Thanks for your contribute !

@sunny0826
Copy link
Owner

Sorry, I didn't notice the PR.

@sunny0826 sunny0826 merged commit fe0bac5 into sunny0826:master Dec 25, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature ategorizes issue or PR as related to a new feature. size/XS size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants