bash thingies
This commit is contained in:
parent
72b2f4c035
commit
77914cb90a
1 changed files with 6 additions and 2 deletions
|
@ -6,11 +6,14 @@ shopt -s dirspell
|
|||
##shopt -s autocd #Like zsh
|
||||
PROMPT_COMMAND='history -a'
|
||||
|
||||
source /usr/share/bash-completion/completions/pass
|
||||
set -o vi
|
||||
|
||||
source /usr/share/bash-completion/completions/pass
|
||||
|
||||
alias dvorak='setxkbmap dvorak; setxkbmap -option compose:ralt && xmodmap .Xmodmap'
|
||||
#dvorak
|
||||
alias qwertz='setxkbmap ch,fr'
|
||||
alias mousespeed="sudo xinput --set-prop 'USB Optical Mouse' 'libinput Accel Speed' 1"
|
||||
|
||||
|
||||
#For autocompletions
|
||||
|
@ -54,13 +57,14 @@ esac
|
|||
source ~/.bash_ps1
|
||||
|
||||
|
||||
alias change_yubikey='pkill gpg-agent ssh-agent pinentry ; eval $(gpg-agent --daemon --enable-ssh-support) ; gpg-connect-agent updatestartuptty /bye'
|
||||
|
||||
###############
|
||||
#### ALIAS ####
|
||||
###############
|
||||
# {{{
|
||||
alias nshttp='NSH_HTTP=http NSH_PORT=8888 nsh localhost'
|
||||
alias kl='kubectl'
|
||||
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 /data'
|
||||
alias dockre='docker'
|
||||
|
|
Loading…
Reference in a new issue