kubernetes-sigs / krew

📦 Find and install kubectl plugins
https://krew.sigs.k8s.io
Apache License 2.0
6.42k stars 369 forks source link

:scroll: Documentation > BASH > no more session close required #805

Closed adriens closed 2 years ago

adriens commented 2 years ago

:grey_question: Context

Currently, the documentation tells to restart the shell :

image

which can be annoying in some situations.

:bulb: Proposal

Therefore sourcing the .profile should ne enough.

adriens commented 2 years ago

:point_right: See #806 for more

ahmetb commented 2 years ago

I don't have a .profile file. I think it's a lot cleaner to just restart the shell. Not all bashrc/zshrc/profile files are idempotent either (they're meant to be run once per session, otherwise can have unexpected results). I don't see a clear value-add here either.

adriens commented 2 years ago

:+1: