diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-10-19 12:00:35 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-10-19 13:38:38 +0200 |
commit | 94e8af18b60eacfd397b288a7996fc114b853530 (patch) | |
tree | 5f794a5053a33e465568117749a6e849d140ecca /bashrc | |
parent | f4ea358ff01eea172125cda165612a4c15cbbfee (diff) | |
download | haketilo-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-- | bashrc | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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)\$ " |