5 # If not running interactively, don't do anything
6 [[ $- != *i* ]] && return
8 alias ls='ls --color=auto'
11 git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/'
14 PS1="[\u@\h \W]\[\033[00;32m\]\$(git_branch)\[\033[00m\]\$ "
17 if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
18 export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
22 gpg-connect-agent updatestartuptty /bye >/dev/null
24 [ -n "$DISPLAY" ] && export BROWSER=firefox || export BROWSER=w3m
26 source /etc/profile.d/nix-daemon.sh
27 export LOCALE_ARCHIVE=/usr/lib/locale/locale-archive
30 export PYENV_ROOT="$HOME/.pyenv"
31 [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
32 eval "$(pyenv init -)"
34 export PATH="$PATH:$HOME/scripts"