#!/bin/bash export LIBVIRT_DEFAULT_URI="qemu:///system" export HISTSIZE=-1 export HISTFILESIZE=-1 export EDITOR="vim" # used by systemd user unit file ssh-agent in ~/.config/systemd/user/ssh-agent.service #[Unit] #Description=SSH key agent # #[Service] #Type=simple #Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket #ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK # #[Install] #WantedBy=default.target # #Also add "AddKeysToAgent yes" to ~/.ssh/config export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" test -s ~/.alias && . ~/.alias || true export PATH=~/bin:~/.local/bin:"$PATH" type go >/dev/null 2>&1 && export GOPATH=$(go env GOPATH) && export PATH="$PATH":$GOPATH/bin # needed for pw function and gnupg.vim GPG_TTY=$(tty) export GPG_TTY export PWHOME="$HOME/Nextcloud/passwords" if [[ -d "$HOME"/.bash_completions.d ]];then for file in "$HOME"/.bash_completions.d/*.sh;do source "$file" done fi # PS1 Prompt [[ -f "$HOME/.functions/ps1.sh" ]] && source "$HOME/.functions/ps1.sh" [[ -d "$HOME/.functions" ]] && for f in ~/.functions/*.sh; do source $f; done [[ -d "$HOME/.rbenv/bin" ]] && export PATH="$HOME/.rbenv/bin:$PATH" && eval "$(rbenv init -)" #exit with no error /bin/true