patrick-motard / dotfiles

My dotfiles
The Unlicense
19 stars 8 forks source link

improve user experience with installing and updating pacman packages across multiple machines #108

Closed patrick-motard closed 3 weeks ago

patrick-motard commented 5 years ago

To keep a list of packages up to date across multiple computers, the current workflow is:

install a package: pacman -S some_package

append some_package name to list of packages echo some_package >> ~/.config/dotfiles/arch-packages/pacman)

check in pacman file to dotfiles repo: ya ~/.config/dotfiles/arch-packages/pacman && ycm 'some commit message' && y push

log in to another computer, then:

pull latest dotfiles: y pull

update your packages: update

Your second computer will now have some_packages installed.

I would like:

  1. this to be documented.
  2. reduced to one step on each computer.