This repository has been archived on 2024-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
al-skel/home/.bashrc

28 lines
778 B
Bash
Raw Normal View History

2017-10-16 14:38:02 -05:00
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
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