You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
416 B
Bash
18 lines
416 B
Bash
4 years ago
|
#
|
||
|
# ~/.bashrc
|
||
|
#
|
||
|
|
||
|
# If not running interactively, don't do anything
|
||
|
[[ $- != *i* ]] && return
|
||
|
|
||
|
alias ls='ls --color=auto'
|
||
|
PS1='[\u@\h \W]\$ '
|
||
|
|
||
|
if ! pgrep -u "$USER" ssh-agent > /dev/null; then
|
||
|
ssh-agent -t 1h > "$XDG_RUNTIME_DIR/ssh-agent.env"
|
||
|
fi
|
||
|
if [[ ! "$SSH_AUTH_SOCK" ]]; then
|
||
|
source "$XDG_RUNTIME_DIR/ssh-agent.env" >/dev/null
|
||
|
fi
|
||
|
alias config='/usr/bin/git --git-dir=/home/me/.cfg/ --work-tree=/home/me'
|