From 94e8af18b60eacfd397b288a7996fc114b853530 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 19 Oct 2022 12:00:35 +0200 Subject: [builder][server][proxy] for make targets that spawn a shell, modify bash prompt to indicate the enviroment is active --- bashrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 bashrc (limited to 'bashrc') diff --git a/bashrc b/bashrc new file mode 100644 index 0000000..1d0047c --- /dev/null +++ b/bashrc @@ -0,0 +1,15 @@ +# SPDX-License-Identifier: CC0-1.0 + +# Copyright (C) 2022 Wojtek Kosior +# +# Available under the terms of Creative Commons Zero v1.0 Universal. + +if [ -r /etc/bash.bashrc ]; then + source /etc/bash.bashrc +fi + +if [ -r ~/.bashrc ]; then + source ~/.bashrc +fi + +export PS1="$PS1($HYDRILLA_SHELL_NAME)\$ " -- cgit v1.2.3