27 lines
750 B
Bash
27 lines
750 B
Bash
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
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
|