X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=bash%2F.bashrc;h=d9e59b2c92964b995e9d22e2d1b041d7b41a2d9f;hb=780545c9f59b56a59aba353193d9e63ac6f85109;hp=2ba7279b7294f8d1b9ed2f8ee7c4816810ace780;hpb=c280c0a3f3cda39a971a891b4ecbff2b186896f3;p=max%2Fdotfiles.git diff --git a/bash/.bashrc b/bash/.bashrc index 2ba7279..d9e59b2 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -117,7 +117,7 @@ function __prompt_command() PS1+="${debian_chroot:+($debian_chroot)}" # basic information (user@host:path) - PS1+="\[$RED$BOLD\]\u\[$RESET\]@\[$RED$BOLD\]\h\[$RESET\]:\[$BLUE\]\w\[$RESET\] " + PS1+="\[$RED$BOLD\]\u\[$RESET\]@\[$RED$BOLD\]\h\[$RESET\]:\[$BLUE\]\w\[$RESET\]\n" # prompt $ or # for root @@ -131,7 +131,7 @@ fi unset SSH_AGENT_PID if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then - export SSH_AUTH_SOCK=${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh + export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) fi export GPG_TTY=($tty)