summaryrefslogtreecommitdiffstats
path: root/bashrc
blob: 142b4c9a395954aa585b20f5a6cde117d09d2f7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# .bashrc
# Chmouel Boudjnah <chmouel@mandrakesoft.com>

# User specific aliases and functions

alias rm='rm -i'
alias cp='cp -i'
alias mv='mv -i'
alias d='ls'
alias s='cd ..'
alias p='cd -'

echo $PATH|grep -q /sbin || export PATH=$PATH:/sbin:/usr/sbin

# Tell to df to don't see the supermount filesystems.
alias df='df -x supermount'

#
[ -z $DISPLAY ] || . /etc/profile.d/color_ls.sh

# Source global definitions
if [ -f /etc/bashrc ]; then
	. /etc/bashrc
fi

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME ENV PATH

[ -z $INPUTRC ] && export INPUTRC=/etc/inputrc