aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-debian-dev/bootstrap/func.bash
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-06-16 11:38:17 +0800
committercrupest <crupest@outlook.com>2024-08-15 22:54:39 +0800
commit5d8f2558f25fe8a162dad16f8f9c85f6d0ed6915 (patch)
tree892f57189fc8e6c4360c154580d25363ca721634 /docker/crupest-debian-dev/bootstrap/func.bash
parentd9835fec341426d952e2e8dc6c60db0f64be3b1f (diff)
downloadcrupest-5d8f2558f25fe8a162dad16f8f9c85f6d0ed6915.tar.gz
crupest-5d8f2558f25fe8a162dad16f8f9c85f6d0ed6915.tar.bz2
crupest-5d8f2558f25fe8a162dad16f8f9c85f6d0ed6915.zip
feat(docker/debian-dev): distinguish bash profile and bashrc.
Diffstat (limited to 'docker/crupest-debian-dev/bootstrap/func.bash')
-rw-r--r--docker/crupest-debian-dev/bootstrap/func.bash6
1 files changed, 5 insertions, 1 deletions
diff --git a/docker/crupest-debian-dev/bootstrap/func.bash b/docker/crupest-debian-dev/bootstrap/func.bash
index d17fa1b..7782035 100644
--- a/docker/crupest-debian-dev/bootstrap/func.bash
+++ b/docker/crupest-debian-dev/bootstrap/func.bash
@@ -7,7 +7,11 @@ is_true() {
}
append-bash-profile() {
- cat "/bootstrap/bash-profile/$1" >> /home/$CRUPEST_DEBIAN_DEV_USER/.bash_profile
+ cat "/bootstrap/bash/$1" >> /home/$CRUPEST_DEBIAN_DEV_USER/.bash_profile
+}
+
+append-bashrc() {
+ cat "/bootstrap/bash/$1" >> /home/$CRUPEST_DEBIAN_DEV_USER/.bashrc
}
copy-home-dot-file() {