Issue
I create a few aliases in terminal like below:alias k=kubectlAnd then I open a tmux session with command: tmux.
source <(kubectl completion bash)
Now inside of tmux pane, when I try using the alias and expect the behaviour of source command run in terminal, it fails! :(
Why does this happen and how do I get it right?
The context is that I end up using multiple panes in tmux and I don't want to re-peat the same set of aliases creation again and again as I open every tmux pane. Possible?
Side Note: If you don't know this, it might be another cause for your stress during your CKA/CKAD exam.
No comments:
Post a Comment
Like it or hate it, feel free to share your feedback. Cheers!