Git Product home page Git Product logo

Comments (3)

b3nj5m1n avatar b3nj5m1n commented on August 18, 2024

I've actually thought about this exact thing before, but I was too lazy to implement it, since I basically have what you described in my dotfiles. (See here to see what I mean, basically a message I get when I open up a new shell that tells me if new files have appeared in the home dir.

I'd definitely be open to a PR for this.

from xdg-ninja.

Breigner01 avatar Breigner01 commented on August 18, 2024

Could I suggest creating a cli option to xdg-ninja, something like --show-only-amountthat would print the line You have X dotfiles in your home.
That prevents from using the return value of the program (which when different than 0 suggests an error happened during execution), so it would let the place for error codes when needed and allow for versatility if needed. So in the future it could have some more cli features like maybe excluding the stuff that can't be fixed from output or whatever option or maybe exclude certain dotfiles because it can't be fixed on your end.
Plus it would simplify what you put in your shell rc file.

from xdg-ninja.

b3nj5m1n avatar b3nj5m1n commented on August 18, 2024

I added this with fbd1432, let me know if you encounter any problems.

I might think about adding more control options like @Breigner01 suggested in the future.

from xdg-ninja.

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.