use GPG anget

This commit is contained in:
Thies Lennart Alff 2024-08-08 13:33:35 +02:00
parent 7f582b1288
commit c6edfd69d5
Signed by: lennartalff
GPG key ID: 4EC67D34D594104D

View file

@ -29,6 +29,10 @@ else
export EDITOR='nvim' export EDITOR='nvim'
fi fi
export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
alias reboot-windows="systemctl reboot --boot-loader-entry=windows.conf" alias reboot-windows="systemctl reboot --boot-loader-entry=windows.conf"
alias reboot-linux="systemctl reboot --boot-loader-entry=arch.conf" alias reboot-linux="systemctl reboot --boot-loader-entry=arch.conf"
alias zshrc="nvim ~/.zshrc" alias zshrc="nvim ~/.zshrc"
@ -46,6 +50,7 @@ alias rosterm='find_or_create_rosterm'
alias git-delete-merged="git branch --merged main | grep -v '^[ *]*main$' | xargs git branch -d" alias git-delete-merged="git branch --merged main | grep -v '^[ *]*main$' | xargs git branch -d"
function find_or_create_rosterm() { function find_or_create_rosterm() {
docker container inspect ros2-vim > /dev/null 2>&1 docker container inspect ros2-vim > /dev/null 2>&1
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then