Git Product home page Git Product logo

aliases's Introduction

Add Git Aliases to Zsh

This Bash script reads a text file with Git aliases and appends them to the ~/.zshrc file with a new line as a separator.

Usage

  1. Open the add-git-aliases.sh file in a text editor.
  2. Replace git-aliases.txt with the actual path to your text file with Git aliases.
  3. Save the changes to the file and close the text editor.
  4. Open your terminal and navigate to the directory where the add-git-aliases.sh file is located.
  5. Make the script executable with the command chmod +x add-git-aliases.sh.
  6. Run the script with the command ./add-git-aliases.sh.

The script will read each line in the text file and append it to the ~/.zshrc file with a new line as a separator. Make sure to open a new terminal or run the source ~/.zshrc command to reload the file and make the Git aliases available in your shell.

License

This script is licensed under the MIT License. Feel free to use, modify, and distribute it for any purpose.

aliases's People

Contributors

ali3nnn 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.