Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcd, gls, and git conform cd #4

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

tristanpoland
Copy link

  • What kind of change does this PR introduce?
    Feature

  • What is the current behavior? (You can also link to an open issue here)
    Feature does not exist

  • What is the new behavior (if this is a feature change)?
    gcd - allows the user to instantly cd into any git repo in the tracking file by name
    gls - a shortcut to listing repos

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    No breaking changes

  • Other information:
    Tests added for the gcd command

The command itself is two parts;

  • gcd: is a shell alias pointing to a function that changes the path of the user (it is not possible to implement this functionality in Rust itself)
  • git conform cd: simply prints the path to a repo since rust itself cannot CD the user's shell

@tristanpoland tristanpoland marked this pull request as ready for review October 21, 2024 19:01
@tristanpoland tristanpoland changed the title gcd, gls, and git conform cd gcd, gls, and git conform cd Oct 21, 2024
@ndr3www ndr3www added the enhancement New feature or request label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants