ohmyzsh: kubectl alias conflicts with "supercrabtree/k" plugin

It conflicts with:

https://github.com/supercrabtree/k

Could it be changed to ku or the likes?

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 7
  • Comments: 17 (10 by maintainers)

Commits related to this issue

Most upvoted comments

I’ve reverted the change. Use unalias k if there’s a conflict.

I think many of us will find out (like me) that my k shortcut is broken! I think this change could be somewhat smarter in the sense of only doing this if people actually want to use both plugins, something like an alias collision detection.

For now:

# ~/.zshrc

alias k=kubectl

@mcornella with all the respect, future proof had to be thought when changing a 2 years old alias.