2020-01-21 23:48:06 -05:00
|
|
|
#
|
|
|
|
# ~/.bashrc
|
|
|
|
#
|
|
|
|
|
|
|
|
# If not running interactively, don't do anything
|
|
|
|
[[ $- != *i* ]] && return
|
|
|
|
|
2020-02-26 19:31:21 -05:00
|
|
|
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
|
2020-01-21 23:48:06 -05:00
|
|
|
|
|
|
|
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)'
|
2020-06-11 04:55:04 -04:00
|
|
|
alias memepv='mpv --vo=tct --profile=sw-fast'
|
2020-09-05 05:12:35 -04:00
|
|
|
alias sw='i3-swallow'
|
2020-01-21 23:48:06 -05:00
|
|
|
|
2020-07-13 20:44:11 -04:00
|
|
|
export EDITOR=vim
|
2020-08-31 20:59:06 -04:00
|
|
|
export PATH=$PATH:~/.local/bin
|
2020-07-13 20:44:11 -04:00
|
|
|
|
2020-06-30 04:14:49 -04:00
|
|
|
complete -cf sudo
|
|
|
|
complete -cf swallow
|
|
|
|
complete -cf sw
|
2020-01-21 23:48:06 -05:00
|
|
|
|
2020-08-31 20:59:06 -04:00
|
|
|
eval "$(thefuck --alias)"
|
|
|
|
|
2020-05-27 02:08:39 -04:00
|
|
|
PS1="[\\u@\\h: \\w]\$ "
|
|
|
|
#PS1="\033[33m[\\u@\\h: \033[33m\\w\033[33m]\033[0m\$ "
|
2020-01-21 23:48:06 -05:00
|
|
|
[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && source /opt/miniconda3/etc/profile.d/conda.sh
|