From eb8473cb530d37e78f81023ff2fe1ca6b457b989 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Sat, 13 Jul 1996 23:07:07 +0000 Subject: Initial revision --- config/root-.bash_login | 5 +++++ config/root-.bashrc | 12 ++++++++++++ config/root-.profile | 7 +++++++ 3 files changed, 24 insertions(+) create mode 100644 config/root-.bash_login create mode 100644 config/root-.bashrc create mode 100644 config/root-.profile diff --git a/config/root-.bash_login b/config/root-.bash_login new file mode 100644 index 00000000..efc6a7da --- /dev/null +++ b/config/root-.bash_login @@ -0,0 +1,5 @@ +export PATH=/sbin:/bin:/local/bin + +. ~/.bashrc +. ~/.profile + diff --git a/config/root-.bashrc b/config/root-.bashrc new file mode 100644 index 00000000..2871be79 --- /dev/null +++ b/config/root-.bashrc @@ -0,0 +1,12 @@ +# Execute the user's rootrc file if it exists instead of this one. + +if [ $USER && $USER != root ]; then + . ~$USER/.root_bashrc +else +# define some handy aliases + alias j jobs -l + alias c clear + alias z suspend + alias d dirs +fi + \ No newline at end of file diff --git a/config/root-.profile b/config/root-.profile new file mode 100644 index 00000000..5bfd9833 --- /dev/null +++ b/config/root-.profile @@ -0,0 +1,7 @@ +# Execute the user's .root_profile file if it exists rather than this one. + +if [ $USER && $USER != root ]; then + . ~USER/.root_profile +else + export PATH=/sbin:/bin:/local/bin +fi -- cgit v1.2.3