Git Product home page Git Product logo

Comments (4)

mroth avatar mroth commented on August 19, 2024 2

The nice thing is that because of the way scmpuff wraps git, you can add aliases in the normal way and they should "just work":

For example, I have a few here:
https://github.com/mroth/scmpuff/blob/master/commands/inits/data/aliases.sh

Thus custom ones should be addable to a user's profile in the normal way, and would work with or without scmpuff installed.

I'm not opposed to adding a few more to the default list, but I wanted to keep that list intentionally as short as possible to avoid conflicting with anything a user might have set in the profile (originally I was planning on not including any at all).

Open to thoughts/discussion!

from scmpuff.

montchr avatar montchr commented on August 19, 2024

How would I go about overriding the gl alias, for example? I've added my desired alias to my .zshrc file like any other alias but it seems it's still overridden by the alias set in scmpuff.

from scmpuff.

mroth avatar mroth commented on August 19, 2024

@montchr if you want to override one specifically, just make sure your alias is set afterwards in ordering from initializing scmpuff. Alternately, you can tell scmpuff not to set any of it's aliases at all by adjusting it's init command in your shell config to something such as scmpuff init -s --aliases=false.

from scmpuff.

jeffbyrnes avatar jeffbyrnes commented on August 19, 2024

This has been hanging open for a long time, and a great solution was proposed above. Closing out!

from scmpuff.

Related Issues (20)

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.