]> git.vanrenterghem.biz Git - Dotty.git/blob - bash/.bashrc
Use swaylock.
[Dotty.git] / bash / .bashrc
1 #
2 # ~/.bashrc
3 #
5 # If not running interactively, don't do anything
6 [[ $- != *i* ]] && return
8 alias ls='ls --color=auto'
9 PS1='[\u@\h \W]\$ '
11 unset SSH_AGENT_PID
12 if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
13   export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
14 fi
16 export GPG_TTY=$(tty)
17 gpg-connect-agent updatestartuptty /bye >/dev/null