2022-03-14 13:49:23 +01:00
|
|
|
# Bash Tools
|
|
|
|
|
|
|
|
Some Tools and convenient scripts to make using Console Life Better.
|
|
|
|
These tools in this repo are made for global use. Folders Structure is
|
|
|
|
kept to know where they must be copied in your system.
|
|
|
|
|
|
|
|
# How to install
|
|
|
|
You will need sudo, as scripts are intended to be global
|
|
|
|
|
|
|
|
```
|
|
|
|
# Get scripts
|
2022-03-14 16:23:21 +01:00
|
|
|
git clone https://git.a-lec.org/echolib/bash-tools
|
2022-03-14 13:49:23 +01:00
|
|
|
|
|
|
|
# Copy scripts (example) in the global profile folder
|
2022-03-14 14:08:42 +01:00
|
|
|
sudo cp -rf ~/bash_tools/etc/profile.d/* /etc/profile.d/
|
2022-03-14 13:49:23 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
As bash scripts, you will have to manually edit /etc/bash.bashrc and
|
|
|
|
add - according to your needs - a load script line
|
|
|
|
|
|
|
|
```
|
2022-03-14 16:19:42 +01:00
|
|
|
# Getting Tools...
|
|
|
|
[[ -f /etc/profile.d/echolib/tools.sh ]] && . /etc/profile.d/echolib/tools.sh
|
|
|
|
# To Change Prompt with this one
|
2022-03-14 14:08:42 +01:00
|
|
|
[[ -f /etc/profile.d/echolib/prompt.sh ]] && . /etc/profile.d/echolib/prompt.sh
|
2022-03-14 13:49:23 +01:00
|
|
|
```
|
|
|
|
|
2022-03-14 16:19:42 +01:00
|
|
|
# How lo list tools ?
|
|
|
|
```
|
|
|
|
echolib
|
|
|
|
```
|
2022-03-14 13:49:23 +01:00
|
|
|
# ToDo ?
|
|
|
|
There will be a lot more to come soon. Maybe then, i will create a setup
|
|
|
|
to help you install what you need.
|