diff options
author | crupest <crupest@outlook.com> | 2024-06-16 11:38:17 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2024-08-15 22:54:39 +0800 |
commit | 0af292e43cfaa04e38c79ed290cdb13b4dc097bb (patch) | |
tree | 892f57189fc8e6c4360c154580d25363ca721634 /docker/crupest-debian-dev/bootstrap/func.bash | |
parent | 786bf35a0848c92a7154515a408664ccbdf3022a (diff) | |
download | crupest-0af292e43cfaa04e38c79ed290cdb13b4dc097bb.tar.gz crupest-0af292e43cfaa04e38c79ed290cdb13b4dc097bb.tar.bz2 crupest-0af292e43cfaa04e38c79ed290cdb13b4dc097bb.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.bash | 6 |
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() { |