Code Monkey home page Code Monkey logo

Comments (5)

lra avatar lra commented on July 16, 2024

The intent is good, but the idea of mackup is to focus on config, /usr/bin belongs to the system and is there on a clean install.
A better idea would be to sync /usr/local/bin but this is handled by other tools like homebrew

To solve this, I usually create and sync a ~/bin folder where I put my executables, but it's pure personal behavior and I wasn't sure it was worth putting in mackup.

Would it solve your problem ?

from mackup.

zanona avatar zanona commented on July 16, 2024

hey @lra thanks for your suggestion, I was indeed doing almost the same by pointing my PATH to $HOME/Dropbox/Mackup/bin, it would be really good to have a Mackup sync to ~/bin as you've mentioned for sure. That would make it easier to manage and backup my own exectuables. Also, it is the same suggestion SublimeText recommends for their command line executable which I think it makes a lot of sense.

I think this kind of control in Mackup would also open the doors for implementations of ~/lib for Node.js NPM modules as well later on. But the bin solution would be really great for now.

Thanks again

from mackup.

lra avatar lra commented on July 16, 2024

Merged in, thx

from mackup.

lra avatar lra commented on July 16, 2024

Damn I forgot that I can't sync ~/bin yet, as I enforce a 0600 mode on synced files, which will remove the +x bit to your bin files.

I'll add this to the TODO and come with some way to do this later

from mackup.

zanona avatar zanona commented on July 16, 2024

Thanks for having a look at this @lra, I hope this can be something manageable for a future update. for now I will be doing the linking process myself then.

from mackup.

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.