2020-01-21 23:48:06 -05:00
|
|
|
#
|
|
|
|
# ~/.bashrc
|
|
|
|
#
|
|
|
|
|
|
|
|
# If not running interactively, don't do anything
|
|
|
|
[[ $- != *i* ]] && return
|
|
|
|
|
|
|
|
|
|
|
|
alias ls='ls --color=auto'
|
2020-01-21 23:53:15 -05:00
|
|
|
alias grep='grep --color=auto'
|
2020-01-21 23:48:06 -05:00
|
|
|
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)'
|
|
|
|
|
|
|
|
complete -cf sudo
|
|
|
|
|
|
|
|
PS1='[\u@\h \W]\$ '
|
|
|
|
[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && source /opt/miniconda3/etc/profile.d/conda.sh
|