From e889992c1ac5e2f48dae3518c19cc8ffcaedac7c Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Fri, 9 Jun 2023 04:06:17 +0300 Subject: [PATCH] bashrc --- .bashrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..19efbfb --- /dev/null +++ b/.bashrc @@ -0,0 +1,15 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +alias grep='grep --color=auto' +PS1='[\u@\h \W]\$ ' + +unset SSH_AGENT_PID +if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then + export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" +fi