summaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorYves Duret <yduret@mandriva.com>2002-11-30 13:58:56 +0000
committerYves Duret <yduret@mandriva.com>2002-11-30 13:58:56 +0000
commit7b43badab93ba19435b8dd8a339565880c482383 (patch)
treebf007dda96512f41c12933999664ad76703dc09d /bashrc
parent7b9d7191915099ab5ed2e58440e551eb9cabf982 (diff)
downloadrootfiles-7b43badab93ba19435b8dd8a339565880c482383.tar
rootfiles-7b43badab93ba19435b8dd8a339565880c482383.tar.gz
rootfiles-7b43badab93ba19435b8dd8a339565880c482383.tar.bz2
rootfiles-7b43badab93ba19435b8dd8a339565880c482383.tar.xz
rootfiles-7b43badab93ba19435b8dd8a339565880c482383.zip
- bashrc: source /etc/bashrc after PATH redefinition (for bash_completion)
thanks Guillaume Rousse. - updated to 9.1
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/bashrc b/bashrc
index 11e81cd..a4cf8a8 100644
--- a/bashrc
+++ b/bashrc
@@ -1,11 +1,11 @@
# .bashrc
-# Source global definitions
-if [ -f /etc/bashrc ]; then
- . /etc/bashrc
-fi
-
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME ENV PATH
+
+# Source global definitions
+if [ -f /etc/bashrc ]; then
+ . /etc/bashrc
+fi