My linux .config directory
$ mkdir ~/dotfiles # or ~/stow
# remember to backup your ~/.config/ before stowing
$ cd ~/stow/
# NOTE: make sure you are in ~/stow/ before you do stow!!!
$ stow --adopt --stow ./ # this is for stowing for first time.
$ stow --adopt --restow ./ # for updating your stow config files.
Note:
--dot-files
and--adopt
doesn't compatable with each other.
To tell stow
to ignore certain files while stowing, check --ignore
parameters.
(use info stow
and go to "source file" section for more info about --ignore
)
Similar to .gitignore
, stow has "ignore list" to encounter numerous
files to ignore, go check stow manual.
yay -Sy $(cat ./script/packgelist.txt)