diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-07-13 23:07:07 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-07-13 23:07:07 +0000 |
commit | eb8473cb530d37e78f81023ff2fe1ca6b457b989 (patch) | |
tree | d0b8397a560ce10465b5b025633962b7e0182016 | |
parent | 4f2dc79d0d657e12c322317ee917e2cac3f767b6 (diff) |
Initial revision
-rw-r--r-- | config/root-.bash_login | 5 | ||||
-rw-r--r-- | config/root-.bashrc | 12 | ||||
-rw-r--r-- | config/root-.profile | 7 |
3 files changed, 24 insertions, 0 deletions
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 |