merge: work

This commit is contained in:
AngeD 2022-10-11 18:09:06 +02:00
commit 1c5fe11a0e
2 changed files with 13 additions and 2 deletions

View File

@ -12,8 +12,20 @@
# See the License for the specific language governing permissions and
# limitations under the License.
function kn() {
(set -e
if [ -n "$2" ]; then
kubectx "${1:l}"
kubens "$2"
else
kubens "$@"
fi
)
}
compdef -e _kubens.zsh kn
alias kx='kubectx'
alias kn='kubens'
alias k='kubectl'
alias ksys='kubectl --namespace=kube-system'
alias ka='kubectl apply --recursive -f'

View File

@ -5,7 +5,6 @@ alias tmp="cd $(mktemp -d)"
alias umnt='sudo umount /mnt -R'
alias vi="$EDITOR"
alias epitest="docker run -it --rm -v $PWD:/usr/app/ epitechcontent/epitest-docker:latest bash"
alias grep='grep -E'
alias wconf="$EDITOR $HOME/.config/sway"
alias zshconf="$EDITOR $ZDOTDIR/.zshrc && . $ZDOTDIR/.zshrc"