From f2a6d1242309a531ab267a7502b0e944bcf53b4e Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Mon, 14 Mar 2022 14:08:42 +0100 Subject: [PATCH] Create echolib folder in global bash profile --- README.md | 4 ++-- etc/profile.d/{ => echolib}/prompt.sh | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename etc/profile.d/{ => echolib}/prompt.sh (100%) diff --git a/README.md b/README.md index d979d01..5a2aeed 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ You will need sudo, as scripts are intended to be global git clone https://git.a-lec.org/echolib/bash-tools.git # Copy scripts (example) in the global profile folder -sudo cp ~/bash_tools/etc/profile.d/* /etc/profile.d/ +sudo cp -rf ~/bash_tools/etc/profile.d/* /etc/profile.d/ ``` As bash scripts, you will have to manually edit /etc/bash.bashrc and @@ -20,7 +20,7 @@ add - according to your needs - a load script line ``` # Change Prompt with this one -[[ -f /etc/profile.d/prompt.sh ]] && . /etc/profile.d/prompt.sh +[[ -f /etc/profile.d/echolib/prompt.sh ]] && . /etc/profile.d/echolib/prompt.sh ``` # ToDo ? diff --git a/etc/profile.d/prompt.sh b/etc/profile.d/echolib/prompt.sh similarity index 100% rename from etc/profile.d/prompt.sh rename to etc/profile.d/echolib/prompt.sh