To include all the dotfiles, install git & gnu stow
To stow all the dotfiles run:
stow --target=$HOME */
To stow only some configs run:
stow --target=$HOME <folder_name>
To re-generate installed ports from macports run:
port installed requested | tail -n+2 | awk '{print $1;}' | uniq > installed_ports
To re-generate installed crates from cargo run:
cat ~/.cargo/.crates2.json | jq -r '.installs | keys[] | split(" ")[0]' > installed_crates