merge: work
This commit is contained in:
commit
1c5fe11a0e
@ -12,8 +12,20 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# 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 kx='kubectx'
|
||||||
alias kn='kubens'
|
|
||||||
alias k='kubectl'
|
alias k='kubectl'
|
||||||
alias ksys='kubectl --namespace=kube-system'
|
alias ksys='kubectl --namespace=kube-system'
|
||||||
alias ka='kubectl apply --recursive -f'
|
alias ka='kubectl apply --recursive -f'
|
||||||
|
@ -5,7 +5,6 @@ alias tmp="cd $(mktemp -d)"
|
|||||||
alias umnt='sudo umount /mnt -R'
|
alias umnt='sudo umount /mnt -R'
|
||||||
alias vi="$EDITOR"
|
alias vi="$EDITOR"
|
||||||
alias epitest="docker run -it --rm -v $PWD:/usr/app/ epitechcontent/epitest-docker:latest bash"
|
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 wconf="$EDITOR $HOME/.config/sway"
|
||||||
alias zshconf="$EDITOR $ZDOTDIR/.zshrc && . $ZDOTDIR/.zshrc"
|
alias zshconf="$EDITOR $ZDOTDIR/.zshrc && . $ZDOTDIR/.zshrc"
|
||||||
|
Loading…
Reference in New Issue
Block a user