Comments (4)
Why don't you link the bin folder entirely instead?
from stow.
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.
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.
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)
- How to know that `stow` skip pointing symlink to destination since it already exists?
- make it possible to stow to a "flattened" file hierarchy (containing symlinks) HOT 2
- What changes cwd to the target directory during init of Stow? HOT 3
- cannot stow ".gitignore" HOT 8
- Stow a absolute symlink HOT 3
- Dotfiles doesn't work with adopt
- --dotfiles missing from usage()
- [[email protected]] An error is reported during the execution of self-test cases. HOT 3
- `stow --simulate` should show `--adopt` actions HOT 2
- `stow --simulate` should warn when `-v` is not specified HOT 4
- Can GNU Stow use a stow target directory that is a symbolic link? HOT 2
- Investigate ditching Stow's pre-processing phase of installation
- ~/.stow-global-ignore doesn't work HOT 9
- .stow-local-ignore: stow does not ignore file when parent directory does not exist
- Why was the no-folding-per-pkg branch abandoned?
- Failed to install because ls HOT 1
- make install fails | installation in docker container HOT 1
- Request build flag to turn off docs creation HOT 1
- Docs build error
- --override not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stow.