workspace/arch-user/config/bash/bashrc
2025-01-01 07:09:28 +00:00

17 lines
346 B
Bash

#!/bin/bash
[[ $- != *i* ]] && return
alias ls='ls --color=auto'
alias grep='grep --color=auto'
unset SSH_AGENT_PID
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
export EDITOR=vim
PS1='\u@\h:\w> '