#!/bin/bash export LIBVIRT_DEFAULT_URI="qemu:///system" export EDITOR="vim" export HISTSIZE=-1 export HISTFILESIZE=-1 export HISTTIMEFORMAT="%y-%m/%d %T " export HISTCONTROL=ignoreboth export HISTIGNORE="ls *:cd *:pwd:history" # used by systemd user unit file ssh-agent in ~/.config/systemd/user/ssh-agent.service #Also add "AddKeysToAgent yes" to ~/.ssh/config export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket" # shellcheck disable=2015 # shellcheck disable=1090 test -s ~/.alias && . ~/.alias || true # shellcheck disable=1090 export PATH=~/bin:~/.local/bin:"$PATH" # shellcheck disable=2155 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 if [[ -d "$HOME"/.bash_completions.d ]];then for file in "$HOME"/.bash_completions.d/*.sh;do # shellcheck disable=1090 source "$file" done fi # shellcheck disable=1090 [[ -d "$HOME/.functions" ]] && for f in ~/.functions/*.sh; do source "$f"; done # shellcheck disable=1090 [[ -d "$HOME/.rbenv/bin" ]] && export PATH="$HOME/.rbenv/bin:$PATH" && eval "$(rbenv init -)" [[ "$(hostname)" != "framer" ]] && export PS1_COLOR_HOSTNAME="\[\033[0;33m\]" # shellcheck disable=1091 type zoxide >/dev/null 2>&1 && eval "$(zoxide init bash --cmd cd)"