Common bashrc settings
mouse 2210 · person cloud · link
Last update
2019-09-11
2019
09-11
« — »
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
PS1="\[\033[0;36m\]\t\[\033[01;34m\][\w]\[\033[00m\]\n\[\033[01;32m\]\u@\h\[\033[00m\]\$ "
[ $EUID -eq 0 ] && PS1="\[\033[01;34m\][\w]\[\033[00m\]\n\[\033[01;31m\]\u\[\033[00m\]# "
PATH=".:$HOME/bin:/opt/bin:$PATH"
EDITOR=/bin/nano
CONCURRENCY_LEVEL=`grep processor /proc/cpuinfo|wc -l`
HISTSIZE=10000
export PS1  PATH  EDITOR CONCURRENCY_LEVEL  HISTSIZE

alias d='clear; ls -lhX --color'
alias md=mkdir
alias cls=clear
alias cd..='cd ..'
alias rm='rm -i'
alias x=exit
alias dum='du -h --max-depth=1'
alias dumm='du -h --max-depth=1|grep M'
alias df='df -h'
alias see=geeqie
alias Grep=grep
alias Less=less
alias java='java -server'
[ -f /usr/lib/mc/mc.sh ] && . /usr/lib/mc/mc.sh