dotfiles/.bashrc
logan2611 66266063d3 Made theming 100% less jank
Signed-off-by: logan2611 <logan2611@gmail.com>
2020-05-26 17:50:59 -06:00

26 lines
745 B
Bash

#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
if ! pgrep -u "$USER" ssh-agent > /dev/null; then
ssh-agent > "$XDG_RUNTIME_DIR/ssh-agent.env"
fi
if [[ ! "$SSH_AUTH_SOCK" ]]; then
eval "$(<"$XDG_RUNTIME_DIR/ssh-agent.env")"
fi
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias sudo='sudo '
alias cheat='f() { curl cheat.sh/$1; };f'
alias updatemirrors='sudo reflector --age 12 --number 10 --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
alias pacman-clean='pacman -Rsn $(pacman -Qdtq)'
alias dolphin='/usr/bin/dolphin'
complete -cf sudo
PS1="[\\u@\\h: \\w]$ "
[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && source /opt/miniconda3/etc/profile.d/conda.sh