random- collection of un-sorted bollocks |
git clone git://git.acid.vegas/random.git |
Log | Files | Refs | Archive |
bash.bashrc (728B)
1 [[ $- != *i* ]] && return 2 3 shopt -s checkwinsize 4 5 export LC_CTYPE=en_US.UTF-8 6 export LC_ALL=en_US.UTF-8 7 8 # color 9 alias diff='diff --color=auto' 10 alias dir='dir --color=auto' 11 alias egrep='egrep --color=auto' 12 alias grep='grep --color=auto' 13 alias fgrep='fgrep --color=auto' 14 alias ip='ip -color=auto' 15 alias ls='ls --color=auto' 16 alias ncdu='ncdu --color dark -rr' 17 alias vdir='vdir --color=auto' 18 19 # rewrites 20 alias pip='pip3' 21 alias python='python3' 22 alias wget='wget -q --show-progress' 23 24 # random 25 alias ..="cd ../" 26 alias up="sudo apt-get update && sudo apt-get upgrade && sudo apt autoremove" 27 28 if [ $(id -u) == "0" ]; then 29 export PS1="\e[31m\u@\h\e[0m \e[33m\w \e[0m: " 30 else 31 export PS1="\e[38;5;41m\u@\h\e[0m \e[38;5;69m\w \e[0m: " 32 fi