Git Product home page Git Product logo

Comments (4)

unai-ndz avatar unai-ndz commented on May 23, 2024

Why don't you link the bin folder entirely instead?

from stow.

c02y avatar c02y commented on May 23, 2024

You mean put the bin in my ~/Dotfiles.d/? But the local is not the only directory in the ~/Dotfiles.d/ directory, I got several other directories in it such as vim (~/Dotfiles.d/vim/.vim) and fish(~/Dotfiles.d/fish/.config/fish), etc..

Besides, according the logic of stow, you have to put the the path of the directory in the ~/Dotfiles.d/.

And I cannot use command like stow local/.local/bin, since it will print

stow: ERROR: Slashes are not permitted in package names

from stow.

unai-ndz avatar unai-ndz commented on May 23, 2024

I have my ~/bin folder inside ~/dotfiles/bin/bin and I link it with stow bin. I don't see why you can't do that with .local/bin.

I have just tested it a little bit and discarded it because of how it handle the conflicts (It doesn't). So maybe I'm missing something.

from stow.

c02y avatar c02y commented on May 23, 2024

A directory called fish which contains

~/Dotfiles.d/
  - fish/.config/fish/
    - functions/
    - completions/
    - config.fish

So I use stow fish to link the whole fish directory into ~/.config/fish.

I just tested, I put a file (such as foo) in ~/.config/fish/functions, the foo file will be ~/Dotfiles.d/fish/.config/fish/functions/ too.

I don't understand why this is not working to ~/Dotfiles.d/local.


UPDATE:

I realize that there are several files (pip*) in ~/.local/bin/ that are not in ~/Dotfiles.d/local/.local/bin/, the sync problem may be caused by this, so I remove ~/.local/bin and relink the bin directory using cd ~/Dotfiles.d/; stow local, then add files into ~/.local/bin/ and they exist in ~/Dotfiles.d/local/.local/bin/ too.

Since I have been using stow for years, the sync process works great for me, but recently this issue happens. I guess normally stow works as I expected. So I close this issue.

from stow.

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.