summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc31
1 files changed, 31 insertions, 0 deletions
diff --git a/bashrc b/bashrc
new file mode 100644
index 0000000..142b4c9
--- /dev/null
+++ b/bashrc
@@ -0,0 +1,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