X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=bash%2F.bashrc;h=d9e59b2c92964b995e9d22e2d1b041d7b41a2d9f;hb=780545c9f59b56a59aba353193d9e63ac6f85109;hp=6349cc8a2f1a5ca163681db2e9746bb4534608d9;hpb=fe723d4352968207b76f0d23a3d633df69946854;p=max%2Fdotfiles.git diff --git a/bash/.bashrc b/bash/.bashrc index 6349cc8..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=~/.gnupg/S.gpg-agent.ssh + export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) fi export GPG_TTY=($tty)