From fa18823e035ab14640540325ccf8eadff11fee35 Mon Sep 17 00:00:00 2001 From: Mountain Man <43313373+MountainMan1312@users.noreply.github.com> Date: Tue, 28 Mar 2023 15:24:15 -0400 Subject: Use same '.bashrc' file for all users It is more convenient and maintainable to use the same '.bashrc' for all users. This will allow, for instance, the PS1 prompt to be conditionally tailored for certain kinds of users. --- home/.bashrc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 home/.bashrc (limited to 'home/.bashrc') diff --git a/home/.bashrc b/home/.bashrc new file mode 100644 index 0000000..786f06d --- /dev/null +++ b/home/.bashrc @@ -0,0 +1,7 @@ +# ~/.bashrc +# Author: Mountain Man + +# Test for an interactive shell. +if [[ $- != *i* ]] ; then + return +fi -- cgit v1.2.3