From c63b7a6e6ae4366286abe85c0b987eceba407a38 Mon Sep 17 00:00:00 2001 From: Frank Villaro-Dixon Date: Thu, 23 Apr 2020 17:35:00 +0200 Subject: [PATCH] cleanup bash Signed-off-by: Frank Villaro-Dixon --- bash/.bashrc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 06d44b2..61d1e9e 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -65,6 +65,7 @@ source ~/.bash_ps1 alias mobatime='~/Programmation/mobatime.pl -u FVD -p $(pass web/mobatime.infomaniak.ch | grep -v login)' alias nshttp='NSH_HTTP=http NSH_PORT=8888 nsh localhost' alias kl='kubectl' +alias klks='kubectl -n kube-system' alias change_yubikey='pkill gpg-agent ssh-agent pinentry ; eval $(gpg-agent --daemon --enable-ssh-support) ; gpg-connect-agent updatestartuptty /bye' alias dockerdns=' docker run -d --hostname dns.mageddo --restart=unless-stopped -p 5380:5380 -v /var/run/docker.sock:/var/run/docker.sock -v /etc/resolv.conf:/etc/resolv.conf -d defreitas/dns-proxy-server' alias flake='docker run --rm -v $(pwd):/data -it gitlab.infomaniak.ch:4567/production-purple/ci/flake8/master:latest flake8 --ignore=E266,E303,E501,W391,E722,W503,F403,F405 --max-line-length=110 --exclude=venv,__pycache__ /data' @@ -591,14 +592,9 @@ GPG_TTY=`tty` export GPG_TTY export GPGKEY=016106A6AF223DBE -export PYTHONPATH=/usr/local/lib/python2.7/dist-packages -###export CC=clang -#export OMPI_MPICC=clang++ - -export DEVKITPRO=/opt/devkitpro -export DEVKITARM=$DEVKITPRO/devkitARM export PATH=$PATH:$DEVKITARM/bin export MANPATH=$MANPATH:$DEVKITARM/man +export GOPATH=~/Programmation/ export PATH=$PATH:~/Programmation/dotfiles/Utils @@ -621,3 +617,5 @@ export KUBECONFIG=$(echo ~/.kube/*yml | tr ' ' ':') source ~/.env-secrets export SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh source <(kubectl completion bash) +source /etc/profile.d/bash_completion.sh +eval "$(direnv hook bash)"