Create echolib folder in global bash profile
This commit is contained in:
parent
56dfeda5e7
commit
f2a6d12423
|
@ -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
|
git clone https://git.a-lec.org/echolib/bash-tools.git
|
||||||
|
|
||||||
# Copy scripts (example) in the global profile folder
|
# 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
|
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
|
# 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 ?
|
# ToDo ?
|
||||||
|
|
Loading…
Reference in New Issue