cleanup bash

Signed-off-by: Frank Villaro-Dixon <frank.villaro@infomaniak.com>
This commit is contained in:
Frank Villaro-Dixon 2020-04-23 17:35:00 +02:00
parent d43e712264
commit c63b7a6e6a

View file

@ -65,6 +65,7 @@ source ~/.bash_ps1
alias mobatime='~/Programmation/mobatime.pl -u FVD -p $(pass web/mobatime.infomaniak.ch | grep -v login)' 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 nshttp='NSH_HTTP=http NSH_PORT=8888 nsh localhost'
alias kl='kubectl' 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 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 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' 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 GPG_TTY
export GPGKEY=016106A6AF223DBE 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 PATH=$PATH:$DEVKITARM/bin
export MANPATH=$MANPATH:$DEVKITARM/man export MANPATH=$MANPATH:$DEVKITARM/man
export GOPATH=~/Programmation/
export PATH=$PATH:~/Programmation/dotfiles/Utils export PATH=$PATH:~/Programmation/dotfiles/Utils
@ -621,3 +617,5 @@ export KUBECONFIG=$(echo ~/.kube/*yml | tr ' ' ':')
source ~/.env-secrets source ~/.env-secrets
export SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh export SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh
source <(kubectl completion bash) source <(kubectl completion bash)
source /etc/profile.d/bash_completion.sh
eval "$(direnv hook bash)"