2017-10-16 14:38:02 -05:00
|
|
|
# If not running interactively, don't do anything
|
|
|
|
[[ $- != *i* ]] && return
|
|
|
|
|
2017-10-28 08:23:58 -05:00
|
|
|
export PATH=$HOME/bin:$PATH
|
2017-10-16 14:38:02 -05:00
|
|
|
export HISTCONTROL=ignoreboth:erasedups
|
|
|
|
|
|
|
|
PS1='[\u@\h \W]\$ '
|
|
|
|
|
|
|
|
#list
|
|
|
|
alias ls='ls --color=auto'
|
|
|
|
alias la='ls -a'
|
|
|
|
alias ll='ls -la'
|
|
|
|
alias l='ls'
|
|
|
|
|
|
|
|
alias merge="xrdb -merge ~/.Xresources"
|
|
|
|
alias pmsyu="sudo pacman -Syu --color=auto"
|
|
|
|
alias pacman='sudo pacman --color auto'
|
|
|
|
alias update='sudo pacman -Syu'
|
|
|
|
alias upmirrors='sudo reflector --score 100 --fastest 25 --sort rate --save /etc/pacman.d/mirrorlist --verbose'
|
|
|
|
|
|
|
|
shopt -s autocd # change to named directory
|
|
|
|
shopt -s cdspell # autocorrects cd misspellings
|
|
|
|
shopt -s cmdhist # save multi-line commands in history as single line
|
|
|
|
shopt -s histappend # do not overwrite history
|
|
|
|
shopt -s expand_aliases # expand aliases
|
|
|
|
|
|
|
|
neofetch
|