Bash-Tools/README.md

35 lines
966 B
Markdown

# 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
git clone https://git.a-lec.org/echolib/bash-tools
# Copy scripts (example) in the global profile folder
sudo cp -rf ~/bash_tools/etc/profile.d/* /etc/profile.d/
```
As bash scripts, you will have to manually edit /etc/bash.bashrc and
add - according to your needs - a load script line
```
# Getting Tools...
[[ -f /etc/profile.d/echolib/tools.sh ]] && . /etc/profile.d/echolib/tools.sh
# To Change Prompt with this one
[[ -f /etc/profile.d/echolib/prompt.sh ]] && . /etc/profile.d/echolib/prompt.sh
```
# How lo list tools ?
```
echolib
```
# ToDo ?
There will be a lot more to come soon. Maybe then, i will create a setup
to help you install what you need.