Git Product home page Git Product logo

bashscripts's Introduction

Bashscripts

Welcome to the bashscripts repository! This project contains a collection of useful Bash scripts designed to automate and simplify various tasks.

Table of Contents

Introduction

This repository contains several Bash scripts located in the bin folder. Each script is accompanied by its own documentation found in the docs folder.

Installation

Clone the Repository

To get started, clone this repository to your local machine using Git:

git clone https://github.com/yourusername/bashscripts.git
cd bashscripts

Add bin Folder to PATH

To use the scripts from anywhere in your terminal, you need to add the bin folder to your PATH. There are two ways to do this: locally (for a single user) or globally (for all users).

Local Installation

  1. Open your .bashrc file in a text editor:

    nano ~/.bashrc
  2. Add the following line to the end of the file:

    export PATH="$HOME/bashscripts/bin:$PATH"

    Replace /bashscripts/bin with the actual path to the cloned repository.

  3. Save and close the file.

  4. Apply the changes:

    source ~/.bashrc

Global Installation

  1. Open the /etc/profile file in a text editor with superuser privileges:

    sudo nano /etc/profile
  2. Add the following line to the end of the file:

    export PATH="/path/to/bashscripts/bin:$PATH"

    Replace /path/to/bashscripts with the actual path to the cloned repository.

  3. Save and close the file.

  4. Apply the changes:

    source /etc/profile

Scripts

Here is a list of available scripts:

  • getgit: lazygit-like tool to quickly navigate to a repo inside a pre-configured repo folder
  • git_configure: script to configure global options like git aliases, credential manager, username and email. Forked from here
  • setup_bashrc: script to set up various tools to bash, cs (cd + ls), ccat (cat with color) or reimplement evince to run in the background. Forked from here For detailed documentation on each script, click the link or refer to the docs folder.

Documentation

Each script has its own documentation located in the docs folder. The documentation includes usage instructions, examples, and any additional information specific to the script.

Contributing

Contributions are welcome! If you have a script you think would be useful, feel free to submit a pull request. Please ensure your script is well-documented and follows the existing structure of the repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

bashscripts's People

Contributors

muxutruk2 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.