how to use GNU stow
how to use GNU stow
I've tried to stow dot files by following online blog/form, and it worked now, I tried to manage my $HOME/bin directory with stow, but it didn't
$HOME/.dotfiles directory structure
/home/USER/.dotfiles/
|-- bash
| |-- .bash_aliases
| |-- .bash_logout
| `-- .bashrc
|-- .git
| |-- branches
| |-- COMMIT_EDITMSG
| |-- config
| |-- description
| |-- HEAD
| |-- hooks
| |-- index
| |-- info
| |-- logs
| |-- objects
| `-- refs
|-- git
| `-- .gitconfig
|-- .gitignore
|-- install.sh
|-- Makefile
|-- .stow-local-ignore
|-- vim
| `-- .vimrc
`-- zsh
$HOME/bin/src directory structure
/home/USER/bin/
|-- src
| |-- backup
| | |-- backup
| |-- clone
| | `-- clone
| |-- epub2html
| | `-- epub2html
| |-- gnome-nightlight
| | `-- nightlight.sh
| |-- list
| | `-- list
| |-- new
| |-- pomorodo
| | |-- notification.wav
| | |-- old_pomo
| | |-- pomorodo
| | `-- test
| |-- revoke_exec
| | `-- revoke_exec
| |-- rm_exec
| | |-- rm_exec
| | `-- tmp
| |-- install
Where is my mistake and thanks in advance.
You're viewing a single thread.
Normally, your dotfiles/stow folder should mirror the structure in your home-directory.
I found this explanation helpful: https://share.tube/w/2d2409df-ab66-471e-8021-8178baca06d4
The guy does use a somewhat opinionated stow setup. It doesn't have to be this way. But I do think, it's a good setup either way.
2 0 ReplyThanks, very informative
My problem
was running.stow-local-ignorestow --simulate -v 2
, so output will be like linking all dir and files in package_name to target which was weird2 0 Reply