TheLocehiliosan / yadm

Yet Another Dotfiles Manager
https://yadm.io/
GNU General Public License v3.0
4.92k stars 176 forks source link

Adding support for `local.arch` #399

Closed pkoch closed 2 years ago

pkoch commented 2 years ago

Is your feature request related to a problem? Please describe.

I want to not run eval "$(pyenv virtualenv-init -)" on my MacBook Air M1, since the IO is so slow. The problem is the OS and arch architecture combo.

Describe the solution you'd like

Have a local.arch, containing the output of uname -m. I'd then use that in the standard template language. Feels very within spirit of the existing local variables.

Describe alternatives you've considered

Additional context

Nothing.

erijo commented 2 years ago

This looks like #202 which is to be included in the next release.

pkoch commented 2 years ago

Oh, neat! I missed that while looking in the repo.

This issue is clearly a duplicate, closing!