aboutsummaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-10-19 12:00:35 +0200
committerWojtek Kosior <koszko@koszko.org>2022-10-19 13:38:38 +0200
commit94e8af18b60eacfd397b288a7996fc114b853530 (patch)
tree5f794a5053a33e465568117749a6e849d140ecca /bashrc
parentf4ea358ff01eea172125cda165612a4c15cbbfee (diff)
downloadhaketilo-hydrilla-94e8af18b60eacfd397b288a7996fc114b853530.tar.gz
haketilo-hydrilla-94e8af18b60eacfd397b288a7996fc114b853530.zip
[builder][server][proxy] for make targets that spawn a shell, modify bash prompt to indicate the enviroment is active
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc15
1 files changed, 15 insertions, 0 deletions
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 <koszko@koszko.org>
+#
+# 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)\$ "